aboutsummaryrefslogtreecommitdiff
path: root/launchers
diff options
context:
space:
mode:
authorscgilardi <scgilardi@gmail.com>2009-03-01 21:57:55 +0000
committerscgilardi <scgilardi@gmail.com>2009-03-01 21:57:55 +0000
commite349bec891f980cad20e0fa734045a6bd57820e2 (patch)
tree02adce817039ef021ebc78ee57936f7e78f11b26 /launchers
parent8ce94fbc65dd838d3fdf12046b7db29c4ab5ccb7 (diff)
clj-env-dir: use -H flag in find command to allow CLOJURE_EXT to be a symbolic link
Diffstat (limited to 'launchers')
-rwxr-xr-xlaunchers/bash/clj-env-dir5
1 files changed, 2 insertions, 3 deletions
diff --git a/launchers/bash/clj-env-dir b/launchers/bash/clj-env-dir
index f543a473..42b53ff8 100755
--- a/launchers/bash/clj-env-dir
+++ b/launchers/bash/clj-env-dir
@@ -49,9 +49,8 @@ function die { echo "$1" 1>&2; exit 1; }
[ -d "${CLOJURE_EXT:-}" ] || die \
"CLOJURE_EXT=\"${CLOJURE_EXT:-}\": directory not found"
-EXT="$(find ${CLOJURE_EXT} -mindepth 1 -maxdepth 1 -print0 | tr \\0 \:)"
-CLASSPATH="${EXT%:}${CLASSPATH:+:${CLASSPATH}}"
-export CLASSPATH
+EXT="$(find -H ${CLOJURE_EXT} -mindepth 1 -maxdepth 1 -print0 | tr \\0 \:)"
+export CLASSPATH="${EXT%:}${CLASSPATH:+:${CLASSPATH}}"
JAVA=${CLOJURE_JAVA:-java}
OPTS=${CLOJURE_OPTS:-}