summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/portdupe')
-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