summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpkgdb5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgdb b/pkgdb
index 365e4e3..3bf9f5d 100755
--- a/pkgdb
+++ b/pkgdb
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: pkgdb,v 1.4 2003/05/25 23:56:21 judd Exp $
+# $Id: pkgdb,v 1.5 2003/05/26 00:13:44 judd Exp $
tl=`pwd`
@@ -102,7 +102,7 @@ cat $TMPFILE | ( \
)
cd $tl
-for category in `find . -type d -maxdepth 0 | grep -v CVS | grep -v "^unofficial" | grep -v "^unstable"`; do
+for category in `find . -type d -maxdepth 1 | grep -v CVS | grep -v "^unofficial" | grep -v "^unstable"`; do
for pkg in `ls $category | sort`; do
cd $tl/$category/$pkg
if [ -f .tag ]; then
@@ -123,6 +123,7 @@ for category in `find . -type d -maxdepth 0 | grep -v CVS | grep -v "^unofficial
insertpkg
fi
fi
+ cd $tl
done
done