]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtoolize: fix a misspelled variable name.
authorGary V. Vaughan <gary@gnu.org>
Fri, 19 Oct 2012 05:32:25 +0000 (12:32 +0700)
committerGary V. Vaughan <gary@gnu.org>
Fri, 19 Oct 2012 07:24:21 +0000 (14:24 +0700)
* libtoolize.in (func_require_am_macro_dir): The loop uses _G_arg
not _G_opt.  Now spelled correctly.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
libtoolize.in

index 09e3a9bce8c7250f31c8fbae4787699911b975d2..6f63a518d85ae7d611948181f6ce35d84fbf32a9 100644 (file)
@@ -1397,7 +1397,7 @@ for base in '' ltdl_; do
       case $_G_minus_I_seen,$_G_arg in
         :,*)   '$r'=$_G_arg; break ;;
         *,-I)  _G_minus_I_seen=: ;;
-        *,-I*) '$r'=`expr x$_G_opt : '\''x-I\(.*\)$'\''`; break ;;
+        *,-I*) '$r'=`expr x$_G_arg : '\''x-I\(.*\)$'\''`; break ;;
       esac
     done