From: Daniel Kahn Gillmor Date: Fri, 30 Sep 2011 06:32:05 +0000 (-0400) Subject: fix error output for di-maker X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c99f38245b61fea8943744808ae8a78149f2ef30;p=kvm-manager.git fix error output for di-maker --- diff --git a/di-maker b/di-maker index 7c979d0..5e377d8 100755 --- a/di-maker +++ b/di-maker @@ -16,10 +16,6 @@ set -e output="$1" -# remaining arguments should be files to re-pack into the initrd -shift - - SUITE=${SUITE:-stable} ARCH=${ARCH:-amd64} DISTRO=${DISTRO:-debian} @@ -29,6 +25,9 @@ if [ -z "$output" ] ; then exit 1 fi +# remaining arguments should be files to re-pack into the initrd +shift + WORKDIR=$(mktemp -d) cleanup() {