QUIET a different way

This commit is contained in:
Trevor Batley 2023-06-06 19:39:40 +10:00
parent 6237cbec79
commit 7c125e18d1

View File

@ -80,7 +80,7 @@ if [ $DEBUG ] ; then echo $GITFiles ; fi
if [ ! -e $GITFiles/common ]; then if [ ! -e $GITFiles/common ]; then
#Get it #Get it
cd $GITFiles cd $GITFiles
git clone $QUIET "${smegit_COMMONREPO}" git clone "${smegit_COMMONREPO}" $QUIET
if [ ! -e $GITFiles/common ]; then if [ ! -e $GITFiles/common ]; then
echo "ERROR*******No Common Repo found - package $REPO_NAME" echo "ERROR*******No Common Repo found - package $REPO_NAME"
exit 1 exit 1
@ -88,7 +88,7 @@ if [ ! -e $GITFiles/common ]; then
else else
# Just refresh it # Just refresh it
cd $GITFiles/common cd $GITFiles/common
git $QUIET pull git pull
fi fi
# Now make sure that the make-archive is executible # Now make sure that the make-archive is executible
@ -129,7 +129,7 @@ if [[ -d $REPO_NAME ]] ; then
rm -rf "$REPO_NAME" rm -rf "$REPO_NAME"
fi fi
cd $GITFiles cd $GITFiles
git $QUIET clone "$REPOURL" git clone "$REPOURL" $QUIET
cd $GITFiles cd $GITFiles