aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2007-12-23 17:50:29 +0000
committerMark Linimon <linimon@FreeBSD.org>2007-12-23 17:50:29 +0000
commitece1562584edd340d80bf6410b199cef63d4581b (patch)
treedc84d397cc126af0cc180f50dd662daf41d97cc2 /Tools
parentf11ff27e3c0688c7dc8703cadae2efdef955ccde (diff)
downloadports-ece1562584edd340d80bf6410b199cef63d4581b.tar.gz
ports-ece1562584edd340d80bf6410b199cef63d4581b.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/dopackagestats4
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