Mercurial > hg > foxridge-archiver
changeset 35:e27d097a9d87
still issues with "while read"
author | casties |
---|---|
date | Fri, 23 Jun 2006 11:40:12 +0200 |
parents | 51d136834761 |
children | 9eb746dc69f8 |
files | unarchivemany.sh |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/unarchivemany.sh Fri Jun 23 10:57:56 2006 +0200 +++ b/unarchivemany.sh Fri Jun 23 11:40:12 2006 +0200 @@ -27,7 +27,7 @@ CNT=0 -cat $DIRLIST | while read DIR +cat $DIRLIST | while read DIR do CNT=$(( $CNT + 1 )) if [ -d "$BASEDIR/$DIR" ] @@ -45,7 +45,7 @@ fi done -if [ $CNT = 0 ] -then - echo "ERROR: the list file $DIRLIST seems to be empty!" -fi +#if [ $CNT = "0" ] +#then +# echo "$CNT ERROR: the list file $DIRLIST seems to be empty!" +#fi