summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2015-05-09 16:36:17 +0200
committerThomas Sachau <tommy@gentoo.org>2015-05-09 16:36:17 +0200
commit20035196db57f90ad7e3af396c916e329f218a02 (patch)
treebd9d3009504183944a7c02532053f6a01dc0bbc8 /scripts
parentEAPI version no longer supported by gnome2 eclass (diff)
downloadsunrise-reviewed-20035196db57f90ad7e3af396c916e329f218a02.tar.gz
sunrise-reviewed-20035196db57f90ad7e3af396c916e329f218a02.tar.bz2
sunrise-reviewed-20035196db57f90ad7e3af396c916e329f218a02.zip
Update portdupe script to use newer command, thanks to dol-sen
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/portdupe2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/portdupe b/scripts/portdupe
index fd03f8438..f7b682041 100755
--- a/scripts/portdupe
+++ b/scripts/portdupe
@@ -3,7 +3,7 @@
# Copyright 2006 David Shakaryan <omp@gentoo.org>
# Distributed under the terms of the GNU General Public License v2
-PORTDIR="$(portageq envvar PORTDIR)"
+PORTDIR="$(portageq get_repo_path / gentoo)"
# If an argument is present, use it as the overlay directory.
if [ $1 ]; then