summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-29 04:32:10 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-29 04:32:10 +0000
commit9a1244ce152bad977d01cca1d4d5cc44a9cacd35 (patch)
tree18e3be8a2888ab8726f2b517d74e80e0cb16f629
parent8a22957bdf3408868bfc5de5d40d4b4dfbfa5a25 (diff)
downloadportage-9a1244ce152bad977d01cca1d4d5cc44a9cacd35.tar.gz
portage-9a1244ce152bad977d01cca1d4d5cc44a9cacd35.tar.bz2
portage-9a1244ce152bad977d01cca1d4d5cc44a9cacd35.zip
Fix quoting for ${root} in install_mask().
svn path=/main/trunk/; revision=9590
-rwxr-xr-xbin/misc-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 9138d60a2..48323e2db 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -400,7 +400,7 @@ install_mask() {
set +o noglob
quiet_mode || einfo "Removing ${no_inst}"
# normal stuff
- rm -Rf ${root}/${no_inst} >&/dev/null
+ rm -Rf "${root}"/${no_inst} >&/dev/null
# we also need to handle globs (*.a, *.h, etc)
find "${root}" -path "${no_inst}" -exec rm -fR {} \; >/dev/null