X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=examples%2Fbashisms%2Fscript_location.sh;fp=examples%2Fbashisms%2Fscript_location.sh;h=a01dc95af19fa304f63ed8cd4ebbd95c83cbb527;hb=d4f36724048884d87a46f422aeaf7a45d5e09f11;hp=bdae0fc7735ac04acc2114716d88a1ed5bdc4451;hpb=4bd5169eb75c769397e1c86069f9d2356c89d63d;p=feisty_meow.git diff --git a/examples/bashisms/script_location.sh b/examples/bashisms/script_location.sh index bdae0fc7..a01dc95a 100644 --- a/examples/bashisms/script_location.sh +++ b/examples/bashisms/script_location.sh @@ -3,5 +3,5 @@ # work properly in a bash script that is included via 'source' or '.'. # the first letter of each command is escaped to eliminate the danger of # personal aliases or functions disrupting the results. -ORIGINATING_FOLDER="$( \cd "$(\dirname "$0")" && \pwd )" +ORIGINATING_FOLDER="$( \cd "$(\dirname "$0")" && /bin/pwd )"