summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2003-05-26 19:10:12 +0200
committerJudd Vinet <judd@archlinux.org>2003-05-26 19:10:12 +0200
commitdddb8b09af8bcd4666edc492a6ad178e74018e43 (patch)
tree51c3ab7a932d44ac2b43f693206b3681219fdb32
parent27acb4d0c95667fa8c26f78f015ee6cc9c009a34 (diff)
downloaddbscripts-dddb8b09af8bcd4666edc492a6ad178e74018e43.tar.gz
dbscripts-dddb8b09af8bcd4666edc492a6ad178e74018e43.tar.xz
fixed another insert bug
-rwxr-xr-xpkgdb3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgdb b/pkgdb
index 3bf9f5d..ae14660 100755
--- a/pkgdb
+++ b/pkgdb
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: pkgdb,v 1.5 2003/05/26 00:13:44 judd Exp $
+# $Id: pkgdb,v 1.6 2003/05/26 17:10:12 judd Exp $
tl=`pwd`
@@ -104,6 +104,7 @@ cat $TMPFILE | ( \
cd $tl
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
+ category=`echo $category | sed 's|.*/||'`
cd $tl/$category/$pkg
if [ -f .tag ]; then
# already processed