From 07791e7deefa2dc09d7b2872bc00e35bbbd3b7a9 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 22 Dec 2012 14:17:51 +0100 Subject: cd to workspace, else mounting will fail --- bin/g-i-installation.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/g-i-installation.sh') diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 329c674c..d9d4e75c 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -383,6 +383,7 @@ save_logs() { # # remove set +e once the code has proven its good set +e + cd $WORKSPACE SYSTEM_MNT=/media/$NAME sudo mkdir -p $SYSTEM_MNT sudo guestmount -o uid=$(id -u) -o gid=$(id -g) -a $NAME.raw -m /dev/debian/root --ro $SYSTEM_MNT || true -- cgit v1.2.3-70-g09d2