From: mortenp Date: Wed, 6 Dec 2006 14:05:07 +0000 (+1100) Subject: Fixed a Bourne Shell issue in mlmmj-make-ml.sh (Magnus Naeslund) X-Git-Tag: RELEASE_1_2_13_RC1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d003f220d66ca07c0db13ad2019abc8d72494920;p=thirdparty%2Fmlmmj.git Fixed a Bourne Shell issue in mlmmj-make-ml.sh (Magnus Naeslund) --- diff --git a/ChangeLog b/ChangeLog index 307c6047..8b282e1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/src/mlmmj-make-ml.sh.in b/src/mlmmj-make-ml.sh.in index 00e8d464..e3d45439 100755 --- a/src/mlmmj-make-ml.sh.in +++ b/src/mlmmj-make-ml.sh.in @@ -46,7 +46,7 @@ case "$Option" in exit 1 esac done -let SHIFTVAL=$OPTIND-1 +SHIFTVAL=$((OPTIND-1)) shift $SHIFTVAL if [ -z "$SPOOLDIR" ]; then