diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-03-20 11:21:11 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-03-20 11:21:11 +0000 |
commit | b75caba1e9e139c0a29839cb5c28d31bb5ed063f (patch) | |
tree | 0ef3e848c95bed688e4bcac3c736d5b24a5b6195 /bin/ebuild.sh | |
parent | c0462311696cdc8f82b945b4c90070a9fd89ef9f (diff) | |
download | portage-b75caba1e9e139c0a29839cb5c28d31bb5ed063f.tar.gz portage-b75caba1e9e139c0a29839cb5c28d31bb5ed063f.tar.bz2 portage-b75caba1e9e139c0a29839cb5c28d31bb5ed063f.zip |
Move has, hasq, and hasv functions to isolated-functions.sh since they do not depend on ebuild.sh.
svn path=/main/trunk/; revision=2964
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 791625c6d..d5e6ef682 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -144,22 +144,6 @@ useq() { fi } -has() { - hasq "$@" -} - -hasv() { - if hasq "$@" ; then - echo "$1" - return 0 - fi - return 1 -} - -hasq() { - [[ " ${*:2} " == *" $1 "* ]] -} - has_version() { if [ "${EBUILD_PHASE}" == "depend" ]; then die "portageq calls (has_version calls portageq) are not allowed in the global scope" |