diff options
author | Judd Vinet <judd@archlinux.org> | 2006-05-07 20:02:42 +0200 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2006-05-07 20:02:42 +0200 |
commit | 4536b36df32bd4d5b2a22c667d6faae21be2c87e (patch) | |
tree | 902a48687e5985c326f0713de80f3ba56d97e75c /db-inc | |
parent | 2d8cc96bf6eada340975827b8f631496da79e63b (diff) | |
download | dbscripts-4536b36df32bd4d5b2a22c667d6faae21be2c87e.tar.gz dbscripts-4536b36df32bd4d5b2a22c667d6faae21be2c87e.tar.xz |
suppress errors in first ls check
Diffstat (limited to 'db-inc')
-rw-r--r-- | db-inc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |