summaryrefslogtreecommitdiffstats
path: root/db-inc
diff options
context:
space:
mode:
Diffstat (limited to 'db-inc')
-rw-r--r--db-inc4
1 files 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