From 019d82fee2e20aca2026a6729da383a070f168d7 Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Tue, 20 Mar 2018 18:05:56 +0000 Subject: [PATCH] Add notice about absolute paths --- test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 8120960..16f2966 100755 --- a/test.sh +++ b/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