SVN: toys/tools/cleanbuild/cleanbuild
sparky
sparky at pld-linux.org
Mon Mar 29 18:21:43 CEST 2010
Author: sparky
Date: Mon Mar 29 18:21:43 2010
New Revision: 11289
Modified:
toys/tools/cleanbuild/cleanbuild
Log:
- call builder script with stdin from /dev/null (act like th builders)
Modified: toys/tools/cleanbuild/cleanbuild
==============================================================================
--- toys/tools/cleanbuild/cleanbuild (original)
+++ toys/tools/cleanbuild/cleanbuild Mon Mar 29 18:21:43 2010
@@ -447,7 +447,7 @@
fi
./findunusedbr -c $CHDIR $HOME/rpm/packages/$build_pkg/$build_pkg.spec
title "building"
- { chroot $CHDIR su $USER -c "$CHHOME/rpm/packages/builder -nn -bb $build_pkg $builder_options" 2>&1; echo $? > ecode; } | tee $buildlog
+ { chroot $CHDIR su $USER -c "$CHHOME/rpm/packages/builder -nn -bb $build_pkg $builder_options" < /dev/null 2>&1; echo $? > ecode; } | tee $buildlog
ECODE=$(< ecode)
rm -f ecode
More information about the pld-cvs-commit
mailing list