genwebgallery

changeset 41:8bc7566a9086

fixed a small bug if no valid filenames are mentioned
author meillo@marmaro.de
date Thu, 12 Jun 2008 22:01:48 +0200
parents 34b0ed40a879
children 8f69055cf7ed
files genwebgallery
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/genwebgallery	Thu Jun 05 21:29:03 2008 +0200
     1.2 +++ b/genwebgallery	Thu Jun 12 22:01:48 2008 +0200
     1.3 @@ -140,7 +140,7 @@
     1.4  
     1.5  # option processing
     1.6  
     1.7 -while [ "$#" -ge 1 ] && [ `echo "$1" | awk '{print substr($0,1,1)}'` = '-'  ] ; do
     1.8 +while [ "$#" -ge 1 ] && [ "`echo "$1" | awk '{print substr($0,1,1)}'`" = '-'  ] ; do
     1.9  	case $1 in
    1.10  		'--version')
    1.11  			echo "$PROGRAM version $VERSION"