From: Christian Hofstaedtler Date: Tue, 6 Dec 2011 00:52:20 +0000 (+0100) Subject: Fix unpacking of existing chroot tarball X-Git-Tag: v0.17.0~19 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=e68d43e7395ac69d800242fbc83081b0c91e945c Fix unpacking of existing chroot tarball This can never have worked. Must have been quite late... --- 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