Add notice about absolute paths

This commit is contained in:
Nero 2018-03-20 18:05:56 +00:00
parent 2665af78b6
commit 019d82fee2
1 changed files with 2 additions and 1 deletions

View File

@ -1,8 +1,9 @@
#!/bin/sh
# Give in the command to test against as argument(s)
# Path needs to be absolute!
# Examples: ./test.sh readlink -f
# ./test.sh cat
# ./test.sh ./otherscript.sh
# ./test.sh $PWD/otherscript.sh
bin="$@"
[ -z "$bin" ] && bin=$PWD/realpath.sh