This is an automated email from the ASF dual-hosted git repository.
style95 pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-openwhisk-package-kafka.git
The following commit(s) were added to refs/heads/master by this push:
new c66c8af Add --quiet/-q to recursive zip commands (#338)
c66c8af is described below
commit c66c8af227d0aca4203a97a548425fdcbde25bb9
Author: Anthony Amanse <[email protected]>
AuthorDate: Thu May 2 17:10:32 2019 -0700
Add --quiet/-q to recursive zip commands (#338)
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.
---
installCatalog.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/installCatalog.sh b/installCatalog.sh
index 512da1f..18ae06b 100755
--- a/installCatalog.sh
+++ b/installCatalog.sh
@@ -62,7 +62,7 @@ then
fi
cp -f messageHubFeed_package.json package.json
-zip -r messageHubFeed.zip lib package.json messageHubFeed.js
+zip -r messageHubFeed.zip lib package.json messageHubFeed.js -q
$WSK_CLI -i --apihost "$EDGEHOST" action update --kind
"$ACTION_RUNTIME_VERSION" messaging/messageHubFeed
"$PACKAGE_HOME/action/messageHubFeed.zip" \
--auth "$AUTH" \
@@ -99,7 +99,7 @@ fi
cp -f messageHubFeedWeb_package.json package.json
npm install
-zip -r messageHubFeedWeb.zip lib package.json messageHubFeedWeb.js node_modules
+zip -r messageHubFeedWeb.zip lib package.json messageHubFeedWeb.js
node_modules -q
cd $OLD_PATH