Add --quiet/-q to recursive zip commands (#206)
This commit makes the zip command not output lines of all the
files it adds in the compressed file.
The lines can reach to thousand of lines without the -q option.
This makes it easy to scroll through the progress of the script.
diff --git a/installCatalog.sh b/installCatalog.sh
index 526a728..e9513e7 100755
--- a/installCatalog.sh
+++ b/installCatalog.sh
@@ -67,7 +67,7 @@
fi
cp -f changesFeed_package.json package.json
-zip -r changesFeed.zip lib package.json changes.js
+zip -r changesFeed.zip lib package.json changes.js -q
$WSK_CLI -i --apihost "$EDGEHOST" action update --kind "$ACTION_RUNTIME_VERSION" --auth "$AUTH" cloudant/changes "$PACKAGE_HOME/actions/event-actions/changesFeed.zip" \
-t 90000 \
@@ -95,7 +95,7 @@
rm -rf changesWebAction.zip
fi
-zip -r changesWebAction.zip lib package.json changesWebAction.js node_modules
+zip -r changesWebAction.zip lib package.json changesWebAction.js node_modules -q
$WSK_CLI -i --apihost "$EDGEHOST" action update --kind "$ACTION_RUNTIME_VERSION" --auth "$AUTH" cloudantWeb/changesWebAction "$PACKAGE_HOME/actions/event-actions/changesWebAction.zip" \
-a description 'Create/Delete a trigger in cloudant provider Database' \