summaryrefslogtreecommitdiffstats
path: root/bin/chroot-installation.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-06 12:19:02 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-06 12:19:02 +0100
commit930bccee88255b774f74be10e222b76a78eb3fa8 (patch)
tree385c48900a0055ad6c53bba03a3ea04229336ec7 /bin/chroot-installation.sh
parent1fdaaad3ddef871166b59a8f785af725be60e15b (diff)
downloadjenkins.debian.net-930bccee88255b774f74be10e222b76a78eb3fa8.tar.xz
fixup
Diffstat (limited to 'bin/chroot-installation.sh')
-rwxr-xr-xbin/chroot-installation.sh4
1 files 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)