projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed paste usage to be mac os compatible
[feisty_meow.git]
/
infobase
/
examples
/
bashisms
/
script_location.sh
diff --git
a/infobase/examples/bashisms/script_location.sh
b/infobase/examples/bashisms/script_location.sh
index 7fa942a6302f90daba31cd31c49a686c3ef4def4..bea06161a02477a4d30a6246a36196f42330e9b2 100644
(file)
--- a/
infobase/examples/bashisms/script_location.sh
+++ b/
infobase/examples/bashisms/script_location.sh
@@
-6,5
+6,5
@@
ORIGINATING_FOLDER="$( \cd "$(\dirname "$0")" && /bin/pwd )"
# another slightly tighter version:
ORIGINATING_FOLDER="$( \cd "$(\dirname "$0")" && /bin/pwd )"
# another slightly tighter version:
-export
WORK
DIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory.
+export
THIS
DIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory.