Skip to content

Commit 56ca605

Browse files
timschumiVladimir Kotal
authored andcommitted
docker: Quote variable expansion in deploy command
1 parent f378a5d commit 56ca605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if [ ! -f "/usr/local/tomcat/webapps/${WAR_NAME}" ]; then
1717
# Delete old deployment and (re)deploy
1818
rm -rf /usr/local/tomcat/webapps/*
1919
opengrok-deploy -c /opengrok/etc/configuration.xml \
20-
/opengrok/lib/source.war /usr/local/tomcat/webapps/${WAR_NAME}
20+
/opengrok/lib/source.war "/usr/local/tomcat/webapps/${WAR_NAME}"
2121

2222
# Set up redirect from /source
2323
mkdir "/usr/local/tomcat/webapps/source"

0 commit comments

Comments
 (0)