From e68d43e7395ac69d800242fbc83081b0c91e945c Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Tue, 6 Dec 2011 01:52:20 +0100 Subject: [PATCH] Fix unpacking of existing chroot tarball This can never have worked. Must have been quite late... --- grml-live | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/grml-live b/grml-live index 1e8ddad..8b3ac13 100755 --- a/grml-live +++ b/grml-live @@ -516,8 +516,7 @@ if [ -n "${UNPACK_CHROOT}" ]; then log "Unpacking chroot from ${UNPACK_CHROOT}" einfo "Unpacking chroot from ${UNPACK_CHROOT}" [ -d "$CHROOT_OUTPUT" ] || mkdir -p "${CHROOT_OUTPUT}" - tar -xf "${UNPACK_CHROOT}" -C "${CHROOT_OUTPUT}/" --strip-components 1 | RC=$? - echo $RC + tar -xf "${UNPACK_CHROOT}" -C "${CHROOT_OUTPUT}/" --strip-components 1 ; RC=$? if [ "$RC" != 0 ] ; then eend 1 bailout 1 -- 2.1.4