Fixed "Small install process note" #216,
prevent closing of terminal window in case of wrong project path.
This commit is contained in:
Nikolay Turpitko 2016-01-23 12:22:42 +05:00
parent 2e4168137d
commit 89e0848bab
1 changed files with 1 additions and 1 deletions

2
dev.sh
View File

@ -5,7 +5,7 @@ export LEDISROOT="${LEDISROOT:-${LEDISTOP/\/src\/github.com\/siddontang\/ledisdb
# LEDISTOP sanity check # LEDISTOP sanity check
if [[ "$LEDISTOP" == "${LEDISTOP/\/src\/github.com\/siddontang\/ledisdb/}" ]]; then if [[ "$LEDISTOP" == "${LEDISTOP/\/src\/github.com\/siddontang\/ledisdb/}" ]]; then
echo "WARNING: LEDISTOP($LEDISTOP) does not contain src/github.com/siddontang/ledisdb" echo "WARNING: LEDISTOP($LEDISTOP) does not contain src/github.com/siddontang/ledisdb"
exit 1 false
fi fi
#default snappy and leveldb install path #default snappy and leveldb install path