|
@@ -91,7 +91,7 @@ done
|
|
|
|
|
|
#make it work in the binary package
|
|
#make it work in the binary package
|
|
#(use array for LIBPATH to account for spaces within wildcard expansion)
|
|
#(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)
|
|
LIBPATH=("${ZOOKEEPER_PREFIX}"/share/zookeeper/*.jar)
|
|
else
|
|
else
|
|
#release tarball format
|
|
#release tarball format
|