diff --git a/dev/bootstrap.sh b/dev/bootstrap.sh index c479bce..0b90982 100755 --- a/dev/bootstrap.sh +++ b/dev/bootstrap.sh @@ -1,8 +1,14 @@ #!/usr/bin/env bash -## dev pre-processor bootstrap rev 2016121101 +## dev pre-processor bootstrap rev 2016121301 ## 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 + echo "Plrase run bootstrap.sh from osync/dev directory." + exit 1 +fi + outputFileName="$0" source "merge.sh"