summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2007-08-25 19:11:44 +0200
committermaximilian attems <maks@debian.org>2007-08-25 19:11:44 +0200
commitcd3e97b5b87380e8d1700c6f86d907ad40a1179d (patch)
tree824affeaa16435e9058bca2aab43823f2e1bd29d
parent6119c2636fc78af4049a5facc584325521ca19f8 (diff)
scripts/local: small CodingStyle quote readonly variable
-rw-r--r--debian/changelog3
-rw-r--r--scripts/local2
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 26a76aa..1031a50 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,9 @@ initramfs-tools (0.91) UNRELEASED; urgency=low
Add XS-Vcs-* fields. Mv busybox from Depends to Recommends.
* mkinitramfs: Cope when no busybox is around warn on md/lvm root.
* mkinitramfs: Kill kinit.shared too.
+ * scripts/local: Quote readonly variable. (LP: #115807)
- -- maximilian attems <maks@debian.org> Sat, 25 Aug 2007 14:35:38 +0200
+ -- maximilian attems <maks@debian.org> Sat, 25 Aug 2007 19:10:20 +0200
initramfs-tools (0.90a) unstable; urgency=high
diff --git a/scripts/local b/scripts/local
index 55d4c46..b55212e 100644
--- a/scripts/local
+++ b/scripts/local
@@ -101,7 +101,7 @@ mountroot ()
run_scripts /scripts/local-premount
[ "$quiet" != "y" ] && log_end_msg
- if [ ${readonly} = y ]; then
+ if [ "${readonly}" = "y" ]; then
roflag=-r
else
roflag=-w