# HG changeset patch # User casties # Date 1151055612 -7200 # Node ID e27d097a9d87b2a1186275e6bd9abc671a658b98 # Parent 51d136834761479800948b395b09cd8e2d21774b still issues with "while read" diff -r 51d136834761 -r e27d097a9d87 unarchivemany.sh --- 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