8303016: Invalid escapes in grep patterns
Reviewed-by: erikj
This commit is contained in:
parent
e950b95486
commit
f319c92bd0
@ -443,7 +443,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_PANDOC],
|
|||||||
|
|
||||||
PANDOC_MARKDOWN_FLAG="markdown"
|
PANDOC_MARKDOWN_FLAG="markdown"
|
||||||
AC_MSG_CHECKING([if the pandoc smart extension needs to be disabled for markdown])
|
AC_MSG_CHECKING([if the pandoc smart extension needs to be disabled for markdown])
|
||||||
if $PANDOC --list-extensions | $GREP -q '\+smart'; then
|
if $PANDOC --list-extensions | $GREP -q '+smart'; then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
PANDOC_MARKDOWN_FLAG="markdown-smart"
|
PANDOC_MARKDOWN_FLAG="markdown-smart"
|
||||||
else
|
else
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -382,7 +382,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
|
|||||||
# Finally, set some other options...
|
# Finally, set some other options...
|
||||||
|
|
||||||
# Determine if the boot jdk jar supports the --date option
|
# Determine if the boot jdk jar supports the --date option
|
||||||
if $JAR --help 2>&1 | $GREP -q "\-\-date=TIMESTAMP"; then
|
if $JAR --help 2>&1 | $GREP -q -e "--date=TIMESTAMP"; then
|
||||||
BOOT_JDK_JAR_SUPPORTS_DATE=true
|
BOOT_JDK_JAR_SUPPORTS_DATE=true
|
||||||
else
|
else
|
||||||
BOOT_JDK_JAR_SUPPORTS_DATE=false
|
BOOT_JDK_JAR_SUPPORTS_DATE=false
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -521,7 +521,7 @@ AC_DEFUN([UTIL_REMOVE_SYMBOLIC_LINKS],
|
|||||||
sym_link_dir=`pwd -P`
|
sym_link_dir=`pwd -P`
|
||||||
# Resolve file symlinks
|
# Resolve file symlinks
|
||||||
while test $COUNTER -lt 20; do
|
while test $COUNTER -lt 20; do
|
||||||
ISLINK=`$LS -l $sym_link_dir/$sym_link_file | $GREP '\->' | $SED -e 's/.*-> \(.*\)/\1/'`
|
ISLINK=`$LS -l $sym_link_dir/$sym_link_file | $GREP -e '->' | $SED -e 's/.*-> \(.*\)/\1/'`
|
||||||
if test "x$ISLINK" == x; then
|
if test "x$ISLINK" == x; then
|
||||||
# This is not a symbolic link! We are done!
|
# This is not a symbolic link! We are done!
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user