aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-09-22 17:36:32 +0100
committerMarkos Chandras <hwoarang@gentoo.org>2012-09-22 17:36:32 +0100
commit6eb7e8cc5ca792f2a558b288f8f6b0c21a6c182d (patch)
tree232009dfc3b8bbcb5b7bf9f1e6a34e491c4d30ac /Documentation
parentmaintainers: Initial commit for the compare-ebuilds.sh script (diff)
downloadqt-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.sh5
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" && \