Reset optind so that getopt works in busybox applets called directly by sh.
authorMatt Kraai <kraai@debian.org>
Wed, 6 Sep 2000 01:46:18 +0000 (01:46 -0000)
committerMatt Kraai <kraai@debian.org>
Wed, 6 Sep 2000 01:46:18 +0000 (01:46 -0000)
commit6085c72b6ee92d69642a85b6f5d2dff239c5b1c1
tree6ad444d5f11a33d7f74104511c37438775dfb424
parent9dd79791c89979caa40c14250b27016721b44b13
Reset optind so that getopt works in busybox applets called directly by sh.
Change the behavior of -c to correctly handle $1..$9.
lash.c
sh.c
shell/lash.c