aboutsummaryrefslogtreecommitdiff
path: root/di-maker
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2011-09-30 02:32:05 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2011-09-30 02:32:05 -0400
commitc99f38245b61fea8943744808ae8a78149f2ef30 (patch)
tree875f8adc738fd95cbb2dcdc8c0e85ffe5cdf567b /di-maker
parent8af657998a44395fdaae065c84ed3dd351f61259 (diff)
downloadkvm-manager-c99f38245b61fea8943744808ae8a78149f2ef30.tar.gz
kvm-manager-c99f38245b61fea8943744808ae8a78149f2ef30.tar.bz2
fix error output for di-maker
Diffstat (limited to 'di-maker')
-rwxr-xr-xdi-maker7
1 files changed, 3 insertions, 4 deletions
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() {