From 930bccee88255b774f74be10e222b76a78eb3fa8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 6 Feb 2015 12:19:02 +0100 Subject: fixup --- bin/chroot-installation.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh index 9962413c..f11499de 100755 --- a/bin/chroot-installation.sh +++ b/bin/chroot-installation.sh @@ -49,9 +49,9 @@ cleanup_all() { } execute_ctmpfile() { - sudo chroot $CHROOT_TARGET $TMPFILE #set -x - #chmod +x $CTMPFILE + chmod +x $CTMPFILE + sudo chroot $CHROOT_TARGET $TMPFILE #set -o pipefail # see eg http://petereisentraut.blogspot.com/2010/11/pipefail.html #if ! $(sudo chroot $CHROOT_TARGET $TMPFILE 2>&1 | tee $TMPLOG) ; then # RESULT=$(egrep "Failed to fetch.*Unable to connect to" $TMPLOG || true) -- cgit v1.2.3-70-g09d2