mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 18:21:16 -03:00
If relative path was used, use it
This was inadvertently changed in
ed78fd2a5f
Fixes #9143
This commit is contained in:
@@ -568,3 +568,9 @@ $fish -c 'echo \utest'
|
||||
# CHECKERR: fish: Invalid token '\utest'
|
||||
# CHECKERR: echo \utest
|
||||
# CHECKERR: ^~~~~^
|
||||
|
||||
printf '%s\n' "#!/bin/sh" 'echo $0' > $tmpdir/argv0.sh
|
||||
chmod +x $tmpdir/argv0.sh
|
||||
cd $tmpdir
|
||||
./argv0.sh
|
||||
# CHECK: ./argv0.sh
|
||||
|
||||
Reference in New Issue
Block a user