From 3e9e560cfd80b350ef45581ba984098625419d8e Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 13 Dec 2016 19:28:47 +0100 Subject: [PATCH] Better folder detection --- dev/bootstrap.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dev/bootstrap.sh b/dev/bootstrap.sh index 0b90982..027122d 100755 --- a/dev/bootstrap.sh +++ b/dev/bootstrap.sh @@ -1,10 +1,9 @@ #!/usr/bin/env bash -## dev pre-processor bootstrap rev 2016121301 +## dev pre-processor bootstrap rev 2016121302 ## Yeah !!! A really tech sounding name... In fact it's just include emulation in bash -EXEC_PATH="$(cd "$(dirname "$1")"; pwd)/$(basename "$1")" -if [ "$(basename $EXEC_PATH)" != "dev" ]; then +if [ ! -f "./merge.sh" ]; then echo "Plrase run bootstrap.sh from osync/dev directory." exit 1 fi