From a905ce0f280ec4228cd3ade95bde544e3b7f3c6e Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Fri, 9 Jan 2004 16:55:03 +0000 Subject: [PATCH] * libtoolize.in: Break out of the command argument parse loop when -- is encountered. --- ChangeLog | 5 +++++ libtoolize.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.47.2