summaryrefslogtreecommitdiffstats
path: root/scripts/ubuntu/edgy
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-07-31 09:06:43 (GMT)
committerColin Watson <cjwatson@debian.org>2007-07-31 09:06:43 (GMT)
commit5cf397c96693ffc84a51ef9bd83540b4bdd3bde8 (patch)
tree0298e6da35fce788b8877fd8d5cd66c712a9c830 /scripts/ubuntu/edgy
parent5d11a87539d25cbb1a1a90e763b4745e51a88077 (diff)
downloaddebootstrap-5cf397c96693ffc84a51ef9bd83540b4bdd3bde8.zip
debootstrap-5cf397c96693ffc84a51ef9bd83540b4bdd3bde8.tar.gz
debootstrap-5cf397c96693ffc84a51ef9bd83540b4bdd3bde8.tar.bz2
* Extensive quoting fixes, allowing installation to a target containing
spaces (closes: #387673). r48817
Diffstat (limited to '')
-rw-r--r--scripts/ubuntu/edgy6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/ubuntu/edgy b/scripts/ubuntu/edgy
index 53e82ec..efdc146 100644
--- a/scripts/ubuntu/edgy
+++ b/scripts/ubuntu/edgy
@@ -110,7 +110,7 @@ second_stage_install () {
info INSTCORE "Installing core packages..."
p; progress $baseprog $bases INSTCORE "Installing core packages" #2
- ln -sf mawk $TARGET/usr/bin/awk
+ ln -sf mawk "$TARGET/usr/bin/awk"
x_core_install base-files base-passwd
p; progress $baseprog $bases INSTCORE "Installing core packages" #3
x_core_install dpkg
@@ -130,7 +130,7 @@ second_stage_install () {
x_core_install perl-base
p; progress $baseprog $bases INSTCORE "Installing core packages" #6
- rm $TARGET/usr/bin/awk
+ rm "$TARGET/usr/bin/awk"
x_core_install mawk
p; progress $baseprog $bases INSTCORE "Installing core packages" #7
@@ -152,7 +152,7 @@ second_stage_install () {
if doing_variant fakechroot; then
# fix initscripts postinst (no mounting possible, and wrong if condition)
- sed -i '/dpkg.*--compare-versions/ s/\<lt\>/lt-nl/' $TARGET/var/lib/dpkg/info/initscripts.postinst
+ sed -i '/dpkg.*--compare-versions/ s/\<lt\>/lt-nl/' "$TARGET/var/lib/dpkg/info/initscripts.postinst"
fi
mv "$TARGET/sbin/start-stop-daemon" "$TARGET/sbin/start-stop-daemon.REAL"