diff options
author | Judd Vinet <judd@archlinux.org> | 2003-05-26 19:10:12 +0200 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2003-05-26 19:10:12 +0200 |
commit | dddb8b09af8bcd4666edc492a6ad178e74018e43 (patch) | |
tree | 51c3ab7a932d44ac2b43f693206b3681219fdb32 | |
parent | 27acb4d0c95667fa8c26f78f015ee6cc9c009a34 (diff) | |
download | dbscripts-dddb8b09af8bcd4666edc492a6ad178e74018e43.tar.gz dbscripts-dddb8b09af8bcd4666edc492a6ad178e74018e43.tar.xz |
fixed another insert bug
-rwxr-xr-x | pkgdb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |