From 76fbc34b5de102259da910090473f10701e65ecc Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Fri, 2 Jun 2023 11:15:30 +1000 Subject: [PATCH] suppress all output --- rename-e-smith-pkg.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index b41a2dd..50b260f 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -19,6 +19,7 @@ if [[ -z $1 ]] ; then echo " - will use parameters set for local repository, else it will use remote" echo " - will automagically delete an existing repo, otherwise it will prompt" echo " - run in debug mode" + echo " - completely suppress all output" exit 0 fi @@ -69,7 +70,7 @@ SOURCEORG="smeserver" TARGETORG=${remote_USER} DELETEIT= NOOUTPUT= -for param in $2 $3 $4 $5; do +for param in $2 $3 $4 $5 $6; do if [ $param ] ; then case $param in local ) @@ -81,7 +82,7 @@ for param in $2 $3 $4 $5; do debug ) DEBUG=true ;; nooutput ) - NOOUTPUT=true + NOOUTPUT=true ;; * ) SOURCEORGORG=$param ;; esac