Better folder detection
This commit is contained in:
parent
b16422fc08
commit
3e9e560cfd
|
@ -1,10 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/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
|
## Yeah !!! A really tech sounding name... In fact it's just include emulation in bash
|
||||||
|
|
||||||
EXEC_PATH="$(cd "$(dirname "$1")"; pwd)/$(basename "$1")"
|
if [ ! -f "./merge.sh" ]; then
|
||||||
if [ "$(basename $EXEC_PATH)" != "dev" ]; then
|
|
||||||
echo "Plrase run bootstrap.sh from osync/dev directory."
|
echo "Plrase run bootstrap.sh from osync/dev directory."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue