From 93c7b02ba046e19d9c4137f3156f69418990cff3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20=C5=9Awi=C4=85tek?= Date: Wed, 5 Oct 2011 01:18:05 +0200 Subject: [PATCH] - fixed when everything went fine --- builder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder b/builder index f1d81ba..479a0c2 100755 --- a/builder +++ b/builder @@ -1486,7 +1486,7 @@ build_package() { fi else BRLISTFILE=$(tempfile) - eval ${NICE_COMMAND} $RPMBUILD $TARGET_SWITCH $BUILD_SWITCH -v $QUIET $CLEAN $RPMOPTS $RPMBUILDOPTS $BCOND --define \'_specdir $PACKAGE_DIR\' --define \'_sourcedir $PACKAGE_DIR\' $SPECFILE 2>$BRLISTFILE + eval ${NICE_COMMAND} $RPMBUILD $TARGET_SWITCH $BUILD_SWITCH -v $QUIET $CLEAN $RPMOPTS $RPMBUILDOPTS $BCOND --define \'_specdir $PACKAGE_DIR\' --define \'_sourcedir $PACKAGE_DIR\' $SPECFILE RETVAL=$? fi if [ "$RETVAL" -ne "0" ]; then @@ -1499,7 +1499,7 @@ build_package() { echo "" fi # try to nicely show package list, to just copy&paste it to poldek or so... - cat $BRLISTFILE + eval ${NICE_COMMAND} $RPMBUILD $TARGET_SWITCH $BUILD_SWITCH -v $QUIET $CLEAN $RPMOPTS $RPMBUILDOPTS $BCOND --define \'_specdir $PACKAGE_DIR\' --define \'_sourcedir $PACKAGE_DIR\' $SPECFILE 2>$BRLISTFILE BRLIST=$(awk 'BEGIN{ORS=" ";} NR>1 {print $1;}' $BRLISTFILE) echo echo "To install packages type:" -- 2.46.0