diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2012-09-22 17:36:32 +0100 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2012-09-22 17:36:32 +0100 |
commit | 6eb7e8cc5ca792f2a558b288f8f6b0c21a6c182d (patch) | |
tree | 232009dfc3b8bbcb5b7bf9f1e6a34e491c4d30ac /Documentation | |
parent | maintainers: Initial commit for the compare-ebuilds.sh script (diff) | |
download | qt-6eb7e8cc5ca792f2a558b288f8f6b0c21a6c182d.tar.gz qt-6eb7e8cc5ca792f2a558b288f8f6b0c21a6c182d.tar.bz2 qt-6eb7e8cc5ca792f2a558b288f8f6b0c21a6c182d.zip |
compare-ebuilds: Use portageq to get overlay's abs path
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/maintainers/compare-ebuilds.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/maintainers/compare-ebuilds.sh b/Documentation/maintainers/compare-ebuilds.sh index fb9002e6..ba630e9e 100644 --- a/Documentation/maintainers/compare-ebuilds.sh +++ b/Documentation/maintainers/compare-ebuilds.sh @@ -18,10 +18,7 @@ OVERLAY= LIVE_VERSION="4.8.9999" # you normally don't need to change that #hacky way to find full path for qt overlay -for prof in $(portageq portdir_overlay); do - grep -q "^qt$" ${prof}/profiles/repo_name - [[ $? == 0 ]] && OVERLAY=${prof} && break -done +OVERLAY=$(portageq get_repo_path / qt) [[ -z ${OVERLAY} ]] && \ echo "Can't find path for your Qt overlay" && \ |