On Mon, May 9, 2011 at 9:43 AM, Nils Andresen <n...@nils-andresen.de> wrote:

> Hi,
> have you tried "/bin/bash -x your.script.sh" - see what get's expanded ?
>
> Nils
>
>
> 2011/5/9 Xi Shen <davidshe...@googlemail.com>
>
>> I guess there's something wrong with the argument expansion. Just do
>> not know how to fix it. Please help.
>>
>> You need to change:
- curl_opts="-x ''"
+ curl_opts=-x ""

Run your program with bash -x as Nils said, and you will see the expansion.

Kfir

Reply via email to