From: Zac Medico Date: Sat, 29 Mar 2008 05:52:34 +0000 (-0000) Subject: Fix quoting for ${root} in install_mask(). (trunk r9590) X-Git-Tag: v2.1.5~308 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cfbb7471a3c976ce0053f4aecf326d16365f15d3;p=portage.git Fix quoting for ${root} in install_mask(). (trunk r9590) svn path=/main/branches/2.1.2/; revision=9593 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 27c2cc618..94c26995a 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -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