From: Bartosz Świątek Date: Tue, 4 Oct 2011 23:18:05 +0000 (+0200) Subject: - fixed when everything went fine X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=93c7b02ba046e19d9c4137f3156f69418990cff3;p=packages%2Frpm-build-tools.git - fixed when everything went fine --- 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:"