[packages/rpm-build-tools] - don't redirect stdin. Otherwise some interactive scripts (like kernel.spec build asking for new ke

arekm arekm at pld-linux.org
Thu Feb 21 06:54:28 CET 2013


commit 551a62ae0534b2f87fa5b8e6da8086bb6ad148bc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Feb 21 06:54:24 2013 +0100

    - don't redirect stdin. Otherwise some interactive scripts (like kernel.spec build asking for new kernel options) won't ask any question and use default values.

 builder.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index 5bbbfc9..cbc90db 100755
--- a/builder.sh
+++ b/builder.sh
@@ -515,7 +515,7 @@ teeboth() {
 			rc=$(< $efile)
 			rm -f $efile
 		else
-			"$@" < /dev/null
+			"$@"
 			rc=$?
 		fi
 	fi
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list