From: Gary V. Vaughan Date: Fri, 9 Jan 2004 16:55:03 +0000 (+0000) Subject: * libtoolize.in: Break out of the command argument parse loop when X-Git-Tag: release-1-9b~205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a905ce0f280ec4228cd3ade95bde544e3b7f3c6e;p=thirdparty%2Flibtool.git * libtoolize.in: Break out of the command argument parse loop when -- is encountered. --- diff --git a/ChangeLog b/ChangeLog index 100d9b310..2ec9a070e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-01-09 Gary V. Vaughan + + * libtoolize.in: Break out of the command argument parse loop when + -- is encountered. + 2004-01-08 Gary V. Vaughan * libtoolize.in (func_copy_all_files): s/test "x/test "X/ to keep diff --git a/libtoolize.in b/libtoolize.in index fd8192766..6de3d0b5d 100644 --- a/libtoolize.in +++ b/libtoolize.in @@ -176,7 +176,7 @@ func_fatal_help () --version) sed "$my_sed_version" < $0; exit 0 ;; --help) sed "$my_sed_help" < $0; exit 0 ;; - --) shift ;; + --) shift; break ;; -*) func_fatal_help "unrecognized option \`$1'" ;; *) func_fatal_help "too many arguments" ;; esac