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