1
1

Escape $tmpCC, as it will have / in it in many cases, leading to a sed

expression that doesn't work.

Refs trac:1021

This commit was SVN r14600.

The following Trac tickets were found above:
  Ticket 1021 --> https://svn.open-mpi.org/trac/ompi/ticket/1021
Этот коммит содержится в:
Brian Barrett 2007-05-08 02:17:13 +00:00
родитель d0c936ca85
Коммит 36b5db6b39

Просмотреть файл

@ -77,7 +77,7 @@ cmd="$libtool --dry-run --mode=link --tag=CC $CC bar.lo libfoo.la -o bar $extra_
ompi_check_linker_flags_work yes
# eat any extra whitespace in CC, as libtool will do the same
tmpCC=`echo $CC`
tmpCC=`echo $CC | sed -e 's/\//\\\\\//g'`
output=`echo $output | sed -e "s/^$tmpCC//"`
eval "set $output"
extra_ldflags=