]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool: kill leftover m4 quoting
authorPeter Rosin <peda@lysator.liu.se>
Thu, 18 Oct 2012 21:49:21 +0000 (23:49 +0200)
committerPeter Rosin <peda@lysator.liu.se>
Thu, 18 Oct 2012 21:49:58 +0000 (23:49 +0200)
* build-aux/ltmain.in (func_mode_compile): Use literal ] and [.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
build-aux/ltmain.in

index b94115d4817b2d8bfeb89f34c505d2e396289bbf..660af1cf653276ec9b68d1dfdc6f20dd2c1ac14c 100644 (file)
@@ -1473,7 +1473,7 @@ func_mode_compile ()
 
     func_quote_for_eval "$libobj"
     test "X$libobj" != "X$func_quote_for_eval_result" \
-      && $ECHO "X$libobj" | $GREP '[@:>@~#^*{};<>?"'"'"'        &()|`$@<:@]' \
+      && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"'   &()|`$[]' \
       && func_warning "libobj name \`$libobj' may not contain shell special characters."
     func_dirname_and_basename "$obj" "/" ""
     objname=$func_basename_result