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 |