diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-03-09 04:48:28 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-03-09 04:48:28 +0000 |
commit | abe1c0d6abd20c3d88db99e825496b0878bbcf03 (patch) | |
tree | f30ceaa8aed2fa6aad49382942d9f2b3e43adf56 | |
parent | 22144b96d1fba1235e3b67c9cba536c3963d76ec (diff) | |
download | portage-abe1c0d6abd20c3d88db99e825496b0878bbcf03.tar.gz portage-abe1c0d6abd20c3d88db99e825496b0878bbcf03.tar.bz2 portage-abe1c0d6abd20c3d88db99e825496b0878bbcf03.zip |
Remove install_mask from ebuild.sh since it's in misc-functions.sh now.
svn path=/main/trunk/; revision=2833
-rwxr-xr-x | bin/ebuild.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 288d68602..3e96503c2 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1301,28 +1301,6 @@ dyn_install() { trap SIGINT SIGQUIT } -install_mask() { - local root="$1" - shift - local install_mask="$*" - - # we don't want globbing for initial expansion, but afterwards, we do - local shopts=$- - set -o noglob - for no_inst in ${install_mask}; do - set +o noglob - einfo "Removing ${no_inst}" - # normal stuff - rm -Rf ${root}/${no_inst} >&/dev/null - - # we also need to handle globs (*.a, *.h, etc) - find "${root}" -name ${no_inst} -exec rm -fR {} \; >&/dev/null - done - # set everything back the way we found it - set +o noglob - set -${shopts} -} - dyn_preinst() { if [ -z "$IMAGE" ]; then eerror "${FUNCNAME}: IMAGE is unset" |