Fix quoting for ${root} in install_mask(). (trunk r9590)
authorZac Medico <zmedico@gentoo.org>
Sat, 29 Mar 2008 05:52:34 +0000 (05:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 29 Mar 2008 05:52:34 +0000 (05:52 -0000)
svn path=/main/branches/2.1.2/; revision=9593

bin/misc-functions.sh

index 27c2cc61843f002e82a24eacb7c8860a9455bcf6..94c26995aef440f069d88e5a18cdc6de0e988e3e 100755 (executable)
@@ -374,7 +374,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