summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-10-03 13:39:49 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-10-03 13:39:49 +0000
commit3fef3da8b8caf8e8a8a8b1cce0169c33062db31e (patch)
tree3fbeafb07e902a3f5509ef1e384d5832535ed101 /scripts
parentfix header (diff)
downloadsunrise-3fef3da8b8caf8e8a8a8b1cce0169c33062db31e.tar.gz
sunrise-3fef3da8b8caf8e8a8a8b1cce0169c33062db31e.tar.bz2
sunrise-3fef3da8b8caf8e8a8a8b1cce0169c33062db31e.zip
improve it to not look in profiles/ (only *-*/*)
svn path=/sunrise/; revision=1376
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/portdupe2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/portdupe b/scripts/portdupe
index 98f8051c6..88e717aa8 100755
--- a/scripts/portdupe
+++ b/scripts/portdupe
@@ -12,7 +12,7 @@ if [ $1 ]; then
fi
# Checking, displaying, etc.
-for PACKAGE in */*; do
+for PACKAGE in *-*/*; do
if [[ -d ${PORTDIR}/${PACKAGE} ]] && [[ $(basename ${PACKAGE}) != "CVS" ]] && echo ${PACKAGE} | grep -qv ${PORTDIR}/profiles/categories; then
# Reset versions from last package checked.
PORTPACK_VERS=""