summaryrefslogtreecommitdiffstats
path: root/pkgdb
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2003-05-26 02:13:44 +0200
committerJudd Vinet <judd@archlinux.org>2003-05-26 02:13:44 +0200
commit27acb4d0c95667fa8c26f78f015ee6cc9c009a34 (patch)
tree159c13387589b2a32ad0afc47a02a52b030d58cd /pkgdb
parentc4e3bd62a57454cfe3b759a4207e5977bc10c1eb (diff)
downloaddbscripts-27acb4d0c95667fa8c26f78f015ee6cc9c009a34.tar.gz
dbscripts-27acb4d0c95667fa8c26f78f015ee6cc9c009a34.tar.xz
fixed a little inserting bug
Diffstat (limited to 'pkgdb')
-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