using THISDIR instead of WORKDIR
[feisty_meow.git] / infobase / examples / bashisms / script_location.sh
index 7fa942a6302f90daba31cd31c49a686c3ef4def4..bea06161a02477a4d30a6246a36196f42330e9b2 100644 (file)
@@ -6,5 +6,5 @@
 ORIGINATING_FOLDER="$( \cd "$(\dirname "$0")" && /bin/pwd )"
 
 # another slightly tighter version:
-export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )"  # obtain the script's working directory.
+export THISDIR="$( \cd "$(\dirname "$0")" && \pwd )"  # obtain the script's working directory.