Better folder detection
This commit is contained in:
parent
b16422fc08
commit
3e9e560cfd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue