Upraven Makefile, aby šel pustit "make deploy_test" i přes symlinky.
This commit is contained in:
parent
de2b9de120
commit
9cd49ff7ba
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -64,7 +64,7 @@ schema_all.pdf:
|
||||||
# Deploy to current *mamweb-test* directory
|
# Deploy to current *mamweb-test* directory
|
||||||
deploy_test:
|
deploy_test:
|
||||||
@if [ ${USER} != "mam-web" ]; then echo "Only possible by user mam-web"; exit 1; fi
|
@if [ ${USER} != "mam-web" ]; then echo "Only possible by user mam-web"; exit 1; fi
|
||||||
@if [ `pwd` != "/akce/mam/www/mamweb-test" ]; then echo "Only possible in /akce/mam/www/mamweb-test"; exit 1; fi
|
@if [ `readlink -f .` != "/aux/akce/mam/www/mamweb-test" ]; then echo "Only possible in directory mamweb-test"; exit 1; fi
|
||||||
@echo "Installing version from origin/test ..."
|
@echo "Installing version from origin/test ..."
|
||||||
git pull origin test
|
git pull origin test
|
||||||
git clean -f
|
git clean -f
|
||||||
|
|
Loading…
Reference in a new issue