From 806a7b728818bd6eff713c28795c219981c91c7a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 21 Feb 2013 06:56:09 +0100 Subject: [PATCH] - 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 -- 2.44.0