summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rwxr-xr-xmkinitramfs2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 96efc42..bc526d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,7 @@ initramfs-tools (0.31) UNRELEASED; urgency=low
[ maximilian attems ]
* Resynchronise with latest upstream release.
+ * Place shift after variable outfile assignment.
[ Jeff Bailey ]
* scripts/nfs (mountroot): New variable: NFSOPTS, default to
diff --git a/mkinitramfs b/mkinitramfs
index 874d2ce..63c9b27 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -29,8 +29,8 @@ while true; do
;;
-o)
touch $2
- shift $2
outfile="$(readlink -f "$2")"
+ shift $2
;;
-k)
keep="y"