From 4536b36df32bd4d5b2a22c667d6faae21be2c87e Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Sun, 7 May 2006 18:02:42 +0000 Subject: suppress errors in first ls check --- db-inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db-inc b/db-inc index 5e2eff0..a984ca9 100644 --- a/db-inc +++ b/db-inc @@ -1,4 +1,4 @@ -# $Id: db-inc,v 1.5 2006/05/05 01:38:33 judd Exp $ +# $Id: db-inc,v 1.6 2006/05/07 18:02:42 judd Exp $ [ "$UID" = "" ] && UID=`uid` TMPDIR="/tmp/archpkg.$arch.$repoid.$UID" @@ -56,7 +56,7 @@ cd $TMPDIR # Checkout the CVS module if we need to updatelists= -if [ "`ls $stagedir/add`" -o "`ls $stagedir/del`" ]; then +if [ "`ls $stagedir/add 2>/dev/null`" -o "`ls $stagedir/del 2>/dev/null`" ]; then # if $cvsdir is set, then use that instead of doing our own cvs checkout if [ "$cvsdir" ]; then mv $cvsdir $TMPDIR/$cvsmod -- cgit v1.2.3-24-g4f1b