From: Zac Medico Date: Sat, 29 Mar 2008 04:32:10 +0000 (-0000) Subject: Fix quoting for ${root} in install_mask(). X-Git-Tag: v2.2_pre6~308 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9a1244ce152bad977d01cca1d4d5cc44a9cacd35;p=portage.git Fix quoting for ${root} in install_mask(). svn path=/main/trunk/; revision=9590 --- 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