commit 806a7b728818bd6eff713c28795c219981c91c7a
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Thu Feb 21 06:56:09 2013 +0100

    - don't redirect stdin (same for build with logging on).

 builder.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index cbc90db..c34c309 100755
--- a/builder.sh
+++ b/builder.sh
@@ -511,7 +511,7 @@ teeboth() {
                local efile rc logfile=$1; shift
                if [ "$logfile" ]; then
                        efile=$(tempfile)
-                       { "$@" < /dev/null 2>&1; echo $? > $efile; } | tee -a 
$logfile
+                       { "$@" 2>&1; echo $? > $efile; } | tee -a $logfile
                        rc=$(< $efile)
                        rm -f $efile
                else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/806a7b728818bd6eff713c28795c219981c91c7a

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to