diff options
author | Judd Vinet <judd@archlinux.org> | 2003-05-26 00:13:44 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2003-05-26 00:13:44 +0000 |
commit | 27acb4d0c95667fa8c26f78f015ee6cc9c009a34 (patch) | |
tree | 159c13387589b2a32ad0afc47a02a52b030d58cd | |
parent | c4e3bd62a57454cfe3b759a4207e5977bc10c1eb (diff) |
fixed a little inserting bug
-rwxr-xr-x | pkgdb | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |