Re: /bin/sh: invalid option -- 1

2009-08-20 Thread Piotr Grudzinski
1". busybox seems to > assume that this is an option and> displays: > > > > /bin/sh: invalid option -- 1 > > > > The same happens if I call the script with an > > argument containing leading> '-' . Example: ./finish -abc > > > > Is t

Re: /bin/sh: invalid option -- 1

2009-08-19 Thread Denys Vlasenko
gt; argument set to "-1". busybox seems to > > assume that this is an option and> displays: > > > > > >     /bin/sh: invalid option -- 1 > > > > > > The same happens if I call the script with an > > > argument containing lead

Re: /bin/sh: invalid option -- 1

2009-08-19 Thread piotr
on and> displays: > > > >     /bin/sh: invalid option -- 1 > > > > The same happens if I call the script with an > > argument containing leading> '-' . Example: ./finish -abc > > > > Is this a bug? >

Re: /bin/sh: invalid option -- 1

2009-08-19 Thread Denys Vlasenko
On Tue, Aug 18, 2009 at 6:02 PM, Piotr Grudzinski wrote: > Running bb v1.15.0.svn (2009-08-14) and hush. > > The runsv applet (part of runit utility) calls my finish script with an > argument set to "-1". busybox seems to assume that this is an option and > displays:

/bin/sh: invalid option -- 1

2009-08-18 Thread Piotr Grudzinski
Running bb v1.15.0.svn (2009-08-14) and hush. The runsv applet (part of runit utility) calls my finish script with an argument set to "-1". busybox seems to assume that this is an option and displays: /bin/sh: invalid option -- 1 The same happens if I call the script with a