Skip to content

Commit

Permalink
Fix cd: can't cd to zookeeper-3.5.3-beta/src/c
Browse files Browse the repository at this point in the history
  • Loading branch information
Timandes committed Jun 19, 2018
1 parent ebd9100 commit d3e1e39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis/install_libzookeeper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ tar xvf ${PACKAGE_NAME}.tar.gz || exit 1

if [ ${LIBZOOKEEPER_MAJOR_VERSION} -ge 3 -a ${LIBZOOKEEPER_MINOR_VERSION} -ge 5 ]; then
cd ${PACKAGE_NAME}
${TRAVIS_SCRIPT_DIR}/init_zk_instances.sh || exit 1
${TRAVIS_SCRIPT_DIR}/launch_zk_instances.sh || exit 1
${TRAVIS_SCRIPT_DIR}/init_zk_instances.sh || exit 1
${TRAVIS_SCRIPT_DIR}/launch_zk_instances.sh || exit 1
cd ..
else
mv ${PACKAGE_NAME}/conf/zoo_sample.cfg ${PACKAGE_NAME}/conf/zoo.cfg
${PACKAGE_NAME}/bin/zkServer.sh start
Expand Down

0 comments on commit d3e1e39

Please sign in to comment.