# HG changeset patch # User meillo@marmaro.de # Date 1213300908 -7200 # Node ID 8bc7566a9086da7af294e12dcc3f7537db757ea0 # Parent 34b0ed40a879898ffbaa1f75a480259fe824eee8 fixed a small bug if no valid filenames are mentioned diff -r 34b0ed40a879 -r 8bc7566a9086 genwebgallery --- a/genwebgallery Thu Jun 05 21:29:03 2008 +0200 +++ b/genwebgallery Thu Jun 12 22:01:48 2008 +0200 @@ -140,7 +140,7 @@ # option processing -while [ "$#" -ge 1 ] && [ `echo "$1" | awk '{print substr($0,1,1)}'` = '-' ] ; do +while [ "$#" -ge 1 ] && [ "`echo "$1" | awk '{print substr($0,1,1)}'`" = '-' ] ; do case $1 in '--version') echo "$PROGRAM version $VERSION"