summaryrefslogtreecommitdiffstats
path: root/pack.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pack.sh')
-rwxr-xr-xpack.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/pack.sh b/pack.sh
index 49ef3bef..e9ed8b45 100755
--- a/pack.sh
+++ b/pack.sh
@@ -2,5 +2,9 @@
tar ckzf slx-admin.tar.gz api.php index.php apis fonts inc lang modules-available Mustache script style install.php install-all || exit 1
-[ "$1" = "--deploy" ] && scp slx-admin.tar.gz root@132.230.4.17:install/slx-admin.tar.gz
+if [ "$1" = "--deploy" ]; then
+ scp slx-admin.tar.gz root@132.230.4.17:install/slx-admin.tar.gz
+else
+ echo "Not deploying"
+fi