diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2007-12-23 17:50:29 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2007-12-23 17:50:29 +0000 |
commit | ece1562584edd340d80bf6410b199cef63d4581b (patch) | |
tree | dc84d397cc126af0cc180f50dd662daf41d97cc2 /Tools | |
parent | f11ff27e3c0688c7dc8703cadae2efdef955ccde (diff) | |
download | ports-ece1562584edd340d80bf6410b199cef63d4581b.tar.gz ports-ece1562584edd340d80bf6410b199cef63d4581b.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/dopackagestats | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/dopackagestats b/Tools/portbuild/scripts/dopackagestats index 247ef090c9dc..93b05f4d0f6b 100755 --- a/Tools/portbuild/scripts/dopackagestats +++ b/Tools/portbuild/scripts/dopackagestats @@ -63,10 +63,10 @@ write_row () { # work around the fact that 5-exp is really 6-exp-prime if [ ! -f $indexfile ]; then if [ -d $directory/ports ]; then - indexfile=$directory/ports/`cd $directory/ports&&ls INDEX* | head -1` + indexfile=$directory/ports/`cd $directory/ports&&ls INDEX* 2> /dev/null | head -1` else # work around the fact that 4 is EOL and thus has no ports/ directory - indexfile=$directory/logs/`cd $directory/logs&&ls INDEX* | head -1` + indexfile=$directory/logs/`cd $directory/logs&&ls INDEX* 2> /dev/null | head -1` fi fi |