fixed redeploy

This commit is contained in:
DigitalLumberjack
2016-03-04 00:13:10 +01:00
parent 11d7d28e12
commit 5a4b9b1362

View File

@@ -1,6 +1,6 @@
#!/bin/bash
if [ "$WIKI_CONTEXT" == "xwiki" ];then
if [ "$WIKI_CONTEXT" != "" ];then
if [ ! -f "${JETTY_BASE}/webapps/${WIKI_CONTEXT}" ];then
mv ${JETTY_BASE}/webapps/ROOT ${JETTY_BASE}/webapps/${WIKI_CONTEXT}
#curl http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-8.0-milestone-2.war --output webapps/xwiki8.war