changeset 606:353118fefd6a

Fixed a Bourne Shell issue in mlmmj-make-ml.sh (Magnus Naeslund)
author mortenp
date Thu, 07 Dec 2006 01:05:07 +1100
parents eb2985b8de7e
children db8ec0c0d035
files ChangeLog src/mlmmj-make-ml.sh.in
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Dec 07 00:33:24 2006 +1100
+++ b/ChangeLog	Thu Dec 07 01:05:07 2006 +1100
@@ -1,3 +1,4 @@
+ o Fixed a Bourne Shell issue in mlmmj-make-ml.sh (Magnus Naeslund)
  o Fixed hostnamestr() for hosts that can't find themselves using
    gethostbyname() (Benoit Dolez)
  o Add 'modnonsubposts' tunable that when set will moderate all posts
--- a/src/mlmmj-make-ml.sh.in	Thu Dec 07 00:33:24 2006 +1100
+++ b/src/mlmmj-make-ml.sh.in	Thu Dec 07 01:05:07 2006 +1100
@@ -46,7 +46,7 @@
 	exit 1
 esac
 done
-let SHIFTVAL=$OPTIND-1
+SHIFTVAL=$((OPTIND-1))
 shift $SHIFTVAL
 
 if [ -z "$SPOOLDIR" ]; then