Skip to content

Commit

Permalink
ZOOKEEPER-1663. scripts don't work when path contains spaces (Amichai…
Browse files Browse the repository at this point in the history
… Rothman via camille)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1484527 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
skamille committed May 20, 2013
1 parent 77d2257 commit aa52bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/zkEnv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ done

#make it work in the binary package
#(use array for LIBPATH to account for spaces within wildcard expansion)
if [ -e "${ZOOKEEPER_PREFIX}/share/zookeeper/zookeeper-*.jar" ]; then
if ls "${ZOOKEEPER_PREFIX}"/share/zookeeper/zookeeper-*.jar > /dev/null 2>&1; then
LIBPATH=("${ZOOKEEPER_PREFIX}"/share/zookeeper/*.jar)
else
#release tarball format
Expand Down

0 comments on commit aa52bfb

Please sign in to comment.