2
0
mirror of https://github.com/deajan/osync synced 2024-11-03 15:40:14 +00:00

Added execution path check

This commit is contained in:
deajan 2016-12-13 12:33:30 +01:00
parent 28dbd94ce0
commit 18851f6114

View File

@ -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"