Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
foreverneverer committed Aug 11, 2022
1 parent 69ad521 commit 92f1c53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/start_zk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ then
exit 1
fi

cd "$INSTALL_DIR" || exit

ZOOKEEPER_PKG=${PROJECT_DIR}/thirdparty/build/Download/zookeeper/zookeeper-3.4.10.tar.gz
ZOOKEEPER_PKG=`pwd`/thirdparty/build/Download/zookeeper/zookeeper-3.4.10.tar.gz
if [ ! -f ${ZOOKEEPER_PKG} ]; then
echo "no such file \"${ZOOKEEPER_PKG}\""
echo "please install third-parties first"
exit 1
fi

cd "$INSTALL_DIR" || exit

if [ ! -d zookeeper-3.4.10 ]; then
echo "Decompressing zookeeper..."
cp ${ZOOKEEPER_PKG} .
Expand Down

0 comments on commit 92f1c53

Please sign in to comment.