Gentoo Archives: gentoo-user

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] bash script error
Date: Mon, 09 May 2011 07:54:31
Message-Id: BANLkTi=G8e8Qgp55WMYwQANj2xZkQb1t4A@mail.gmail.com
In Reply to: Re: [gentoo-user] [OT] bash script error by Nils Andresen
1 On Mon, May 9, 2011 at 9:43 AM, Nils Andresen <nils@×××××××××××××.de> wrote:
2
3 > Hi,
4 > have you tried "/bin/bash -x your.script.sh" - see what get's expanded ?
5 >
6 > Nils
7 >
8 >
9 > 2011/5/9 Xi Shen <davidshen84@××××××××××.com>
10 >
11 >> I guess there's something wrong with the argument expansion. Just do
12 >> not know how to fix it. Please help.
13 >>
14 >> You need to change:
15 - curl_opts="-x ''"
16 + curl_opts=-x ""
17
18 Run your program with bash -x as Nils said, and you will see the expansion.
19
20 Kfir

Replies

Subject Author
Re: [gentoo-user] [OT] bash script error Xi Shen <davidshen84@××××××××××.com>