]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- don't redirect stdin (same for build with logging on).
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 21 Feb 2013 05:56:09 +0000 (06:56 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 21 Feb 2013 05:56:09 +0000 (06:56 +0100)
builder.sh

index cbc90db913e4f2f18c2d0b50efb0baade58af9fb..c34c309095762005dfb1a74cceca9bb2f7b9bdc2 100755 (executable)
@@ -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
This page took 0.051354 seconds and 4 git commands to generate.