diff options
author | Judd Vinet <judd@archlinux.org> | 2005-01-03 09:09:21 +0100 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-01-03 09:09:21 +0100 |
commit | f468dc2d2519a54667393c6b18b50ef17c4e27a5 (patch) | |
tree | 9a4ec7abf1bd86b5bd9a489023f301131a92f1fd /pkgdb1 | |
parent | e11622c10fa4b75d264c78c668282f5b21e6f158 (diff) | |
download | dbscripts-f468dc2d2519a54667393c6b18b50ef17c4e27a5.tar.gz dbscripts-f468dc2d2519a54667393c6b18b50ef17c4e27a5.tar.xz |
re-arranged /bin/find options to get rid of an annoying warning message
Diffstat (limited to 'pkgdb1')
-rwxr-xr-x | pkgdb1 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ #!/bin/bash -# $Id: pkgdb1,v 1.2 2004/07/02 17:50:32 judd Exp $ +# $Id: pkgdb1,v 1.3 2005/01/03 08:11:19 judd Exp $ tl=`pwd` @@ -11,7 +11,7 @@ if [ "$repoid" = "" ]; then fi cd $tl -for category in `find . -type d -maxdepth 1 | grep -v CVS | grep -v "^extra" | grep -v "^unstable"`; do +for category in `find . -maxdepth 1 -type d | grep -v CVS | grep -v "^extra" | grep -v "^unstable"`; do category=`echo $category | sed 's|./||'` if [ "$category" = "." ]; then continue |