From ce425a80c6713894fdc3a7620b0f57fd02e9ee52 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 28 Feb 2015 10:34:04 +0100 Subject: [PATCH] xbps-src: silence output with -t. --- xbps-src | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/xbps-src b/xbps-src index 27e7fa7017..03dfb4c4c7 100755 --- a/xbps-src +++ b/xbps-src @@ -213,7 +213,6 @@ check_config_vars() { create_temporary_masterdir() { local tmpmdir=$(mktemp -d -q -p $XBPS_DISTDIR masterdir.XXXXXXXXX || exit 1) - echo "=> Creating a temporary masterdir at $tmpmdir, please wait..." cp -a $XBPS_MASTERDIR/* $tmpmdir/ if [ $? -ne 0 ]; then echo "ERROR: failed to setup temporary masterdir $tmpmdir!" @@ -682,10 +681,7 @@ esac rval=$? -if [ -n "$XBPS_TEMP_MASTERDIR" ]; then - msg_normal "Removing temporary masterdir at $XBPS_MASTERDIR...\n" - rm -rf $XBPS_MASTERDIR -fi +[ -n "$XBPS_TEMP_MASTERDIR" ] && rm -rf "$XBPS_MASTERDIR" # Agur exit $rval