Skip to content

Commit 3b7fd5a

Browse files
authored
Merge pull request #7404 from jsquyres/pr/m4-holy-hell
opal_setup_cli.m4: do not escape $
2 parents 731b7e8 + 04c50c6 commit 3b7fd5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/opal_setup_cli.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ dnl -*- shell-script -*-
22
dnl
33
dnl Copyright (c) 2016 Research Organization for Information Science
44
dnl and Technology (RIST). All rights reserved.
5+
dnl Copyright (c) 2020 Cisco Systems, Inc. All rights reserved.
56
dnl $COPYRIGHT$
67
dnl
78
dnl Additional copyrights may follow
@@ -22,7 +23,7 @@ AC_DEFUN([OPAL_CAPTURE_CONFIGURE_CLI],[
2223
OPAL_VAR_SCOPE_PUSH([sed_quote_subst arg quoted_arg])
2324
$1=
2425
for arg in "$[]@"; do
25-
sed_quote_subst='s/\(@<:@`"$\\@:>@\)/\\\1/g'
26+
sed_quote_subst='s/\(@<:@`"\\@:>@\)/\\\1/g'
2627
case "$arg" in
2728
*@<:@\\\`\"\$[]@:>@*)
2829
quoted_arg=\'`echo "$arg" | sed $sed_quote_subst`\' ;;

0 commit comments

Comments
 (0)