summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2005-10-21 19:08:44 +0200
committermaximilian attems <maks@debian.org>2005-10-21 19:08:44 +0200
commit198b6acac258faa88345e45593679d54791506f0 (patch)
treeae61891b78f9843e4351898e77bdec47ba6202e9
parentbbf15576550507c54b3e190ae6eac63ca070e333 (diff)
downloadinitramfs-tools-198b6acac258faa88345e45593679d54791506f0.tar.gz
initramfs-tools-198b6acac258faa88345e45593679d54791506f0.zip
fix small stupid bug in newer opts handling.
-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"