Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: apache/incubator-pegasus
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 94d386c367be90d376fa51e8edace33943c8c097
Choose a base ref
..
head repository: apache/incubator-pegasus
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 92f1c537b8f9e56a34038f07a8fc1469e95d9d65
Choose a head ref
Showing with 4 additions and 4 deletions.
  1. +4 −4 scripts/start_zk.sh
8 changes: 4 additions & 4 deletions scripts/start_zk.sh
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ set -e
# INSTALL_DIR <dir>
# PORT <port>

PROJECT_DIR=$(realpath $(dirname $(dirname "${BASH_SOURCE[0]}")))
PROJECT_DIR=$(realpath $(dirname $(dirname $(dirname "${BASH_SOURCE[0]}"))))

if [ -z "$INSTALL_DIR" ]
then
@@ -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} .