diff options
author | 2007-02-08 09:39:26 +0000 | |
---|---|---|
committer | 2007-02-08 09:39:26 +0000 | |
commit | e6ee8aca17fc96142b269b45d2e1ee1e829ab587 (patch) | |
tree | 37fbb2229e8d01bb2e90d30e3a33ac0dde720373 /scripts | |
parent | app-antivirus/xfprot: Version bump (diff) | |
download | sunrise-e6ee8aca17fc96142b269b45d2e1ee1e829ab587.tar.gz sunrise-e6ee8aca17fc96142b269b45d2e1ee1e829ab587.tar.bz2 sunrise-e6ee8aca17fc96142b269b45d2e1ee1e829ab587.zip |
Find PORTDIR automagically
svn path=/sunrise/; revision=2962
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/portdupe | 3 |
1 files changed, 1 insertions, 2 deletions
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 <omp@gentoo.org> # 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 |