diff options
author | Aleš Smodiš <aless@guru.si> | 2015-10-08 10:21:29 +0200 |
---|---|---|
committer | Aleš Smodiš <aless@guru.si> | 2015-10-08 10:21:29 +0200 |
commit | bf4f718ec0259dc67250abb37ea786f1ad4ee388 (patch) | |
tree | 1293f96481a4a97ccfd41fc8e2a0963365efb15b /scripts/deploy | |
parent | 12cab148ae6da9eea11e0b9c60340ce2c5fca3ba (diff) |
Bugfix refresh-deploy script: use = instead of == to test for equality.
Diffstat (limited to 'scripts/deploy')
-rwxr-xr-x | scripts/deploy/codeq_refresh_and_deploy.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/deploy/codeq_refresh_and_deploy.sh b/scripts/deploy/codeq_refresh_and_deploy.sh index 46995ce..57a23b2 100755 --- a/scripts/deploy/codeq_refresh_and_deploy.sh +++ b/scripts/deploy/codeq_refresh_and_deploy.sh @@ -73,7 +73,7 @@ if [ $BUILD_WEB_RESOURCES -ne 0 ]; then fi if [ $RESTART_PROLOG -ne 0 ]; then echo Restarting codeq-prolog - if [ "$init" == systemd ]; then + if [ "$init" = systemd ]; then systemctl restart codeq-prolog else /etc/init.d/codeq-prolog restart @@ -81,7 +81,7 @@ if [ $RESTART_PROLOG -ne 0 ]; then fi if [ $RESTART_SERVER -ne 0 ]; then echo Restarting codeq-server - if [ "$init" == systemd ]; then + if [ "$init" = systemd ]; then systemctl restart codeq-server else /etc/init.d/codeq-server restart @@ -89,7 +89,7 @@ if [ $RESTART_SERVER -ne 0 ]; then fi if [ $RESTART_WEB -ne 0 ]; then echo Restarting codeq-web - if [ "$init" == systemd ]; then + if [ "$init" = systemd ]; then systemctl restart codeq-web else /etc/init.d/codeq-web restart |