Added execution path check
This commit is contained in:
parent
28dbd94ce0
commit
18851f6114
|
@ -1,8 +1,14 @@
|
||||||
#!/usr/bin/env bash
|
#!/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
|
## 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"
|
outputFileName="$0"
|
||||||
|
|
||||||
source "merge.sh"
|
source "merge.sh"
|
||||||
|
|
Loading…
Reference in New Issue