busybox/shell/ash_test/ash-misc/source_argv_and_shift.right
Denys Vlasenko 2b1559056c hush: fix a bug in argv restoration after sourcing a file
if sourced file "shift"ed argvs so that $1 is NULL, restore wasn't done.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-01-09 08:13:21 +01:00

5 lines
43 B
Plaintext

sourced_arg1:1
arg1:
sourced_arg1:a
arg1:1