summaryrefslogtreecommitdiff
path: root/bin/live-preseed
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-24 09:45:11 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:31:05 +0100
commitcc62ca76356dc851006e3fc980cc1dcc46ef9ca6 (patch)
treee821a640df8121aaea6e02e814c6a82bc75bac46 /bin/live-preseed
parent32e6d9c217846ec5f6d2da9b773a34c4d1970348 (diff)
downloadlive-boot-cc62ca76356dc851006e3fc980cc1dcc46ef9ca6.tar.gz
live-boot-cc62ca76356dc851006e3fc980cc1dcc46ef9ca6.zip
Consistently using curly brackets for variables.
Diffstat (limited to 'bin/live-preseed')
-rwxr-xr-xbin/live-preseed20
1 files changed, 10 insertions, 10 deletions
diff --git a/bin/live-preseed b/bin/live-preseed
index 3bdd8ce..36154ea 100755
--- a/bin/live-preseed
+++ b/bin/live-preseed
@@ -4,20 +4,20 @@ set -e
PATH=/usr/sbin:/usr/bin:/sbin:/bin
-root="$1"
-question="$2"
-value="$3"
-seen="$4"
+root="${1}"
+question="${2}"
+value="${3}"
+seen="${4}"
-[ "$seen" ] || seen=true
+[ "${seen}" ] || seen=true
-if ! (echo "SET $question $value"; echo "FSET $question seen $seen") | chroot "$1" debconf-communicate -fnoninteractive live-initramfs >/dev/null
+if ! (echo "SET ${question} ${value}"; echo "FSET ${question} seen ${seen}") | chroot "${1}" debconf-communicate -fnoninteractive live-initramfs >/dev/null
then
-chroot "$1" debconf-communicate -fnoninteractive live-initramfs >/dev/null << EOF
-REGISTER debian-installer/dummy $question
-SET $question $value
-FSET $question seen $seen
+chroot "${1}" debconf-communicate -fnoninteractive live-initramfs >/dev/null << EOF
+REGISTER debian-installer/dummy ${question}
+SET ${question} ${value}
+FSET ${question} seen ${seen}
EOF
fi