Add notice about absolute paths
This commit is contained in:
parent
2665af78b6
commit
019d82fee2
1 changed files with 2 additions and 1 deletions
3
test.sh
3
test.sh
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue