From e6ee8aca17fc96142b269b45d2e1ee1e829ab587 Mon Sep 17 00:00:00 2001 From: Jakub Moc Date: Thu, 8 Feb 2007 09:39:26 +0000 Subject: Find PORTDIR automagically svn path=/sunrise/; revision=2962 --- scripts/portdupe | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/portdupe') diff --git a/scripts/portdupe b/scripts/portdupe index 697c3fc37..fd03f8438 100755 --- a/scripts/portdupe +++ b/scripts/portdupe @@ -3,8 +3,7 @@ # Copyright 2006 David Shakaryan # Distributed under the terms of the GNU General Public License v2 -# Change portage tree directory if you have it elsewhere. -PORTDIR="/usr/portage" +PORTDIR="$(portageq envvar PORTDIR)" # If an argument is present, use it as the overlay directory. if [ $1 ]; then -- cgit v1.2.3