xbps-src: silence output with -t.

This commit is contained in:
Juan RP 2015-02-28 10:34:04 +01:00
parent 8ee4a7c257
commit ce425a80c6

View file

@ -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