Fix quoting for ${root} in install_mask().
authorZac Medico <zmedico@gentoo.org>
Sat, 29 Mar 2008 04:32:10 +0000 (04:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 29 Mar 2008 04:32:10 +0000 (04:32 -0000)
svn path=/main/trunk/; revision=9590

bin/misc-functions.sh

index 9138d60a2e9938aff8fda4bbf2cb80b3b67880d4..48323e2dbdeab3c129cb7dd64264fd733cd568b3 100755 (executable)
@@ -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