summaryrefslogtreecommitdiffstats
path: root/bin/chroot-installation.sh
diff options
context:
space:
mode:
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)