From 1218e6a8b4c2aeaf8d134c55e74985ad8bc13510 Mon Sep 17 00:00:00 2001 From: Andrea Richiardi Date: Mon, 21 Jul 2014 11:26:18 +0200 Subject: [PATCH] Removed -mindepth 1 as it was not working in bash version 4.3.11 if CLOJURE_EXT specifies a jar (e.g. clojure-1.6.0.jar). --- launchers/bash/clj-env-dir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launchers/bash/clj-env-dir b/launchers/bash/clj-env-dir index 6b54587e..1bdf7312 100755 --- a/launchers/bash/clj-env-dir +++ b/launchers/bash/clj-env-dir @@ -46,7 +46,7 @@ set -o errexit if [ -n "${CLOJURE_EXT:-}" ]; then OLD="$IFS" IFS=":" - EXT="$(find -H $CLOJURE_EXT -mindepth 1 -maxdepth 1 -print0 | tr \\0 \:)" + EXT="$(find -H $CLOJURE_EXT -maxdepth 1 -print0 | tr \\0 \:)" IFS="$OLD" if [ -n "${CLASSPATH:-}" ]; then export CLASSPATH="$EXT$CLASSPATH"