* make sure to strip off quotes from the lines in post_configure.sh so that
they don't cause escaping issues when executing the last eval. This commit was SVN r2716.
Этот коммит содержится в:
родитель
8d0851253a
Коммит
0716403174
@ -435,6 +435,7 @@ if test "$HAPPY" = "1"; then
|
|||||||
for flags in CFLAGS CXXFLAGS FFLAGS LDFLAGS LIBS; do
|
for flags in CFLAGS CXXFLAGS FFLAGS LDFLAGS LIBS; do
|
||||||
var="LIBMPI_EXTRA_${flags}"
|
var="LIBMPI_EXTRA_${flags}"
|
||||||
line="`grep $var= $infile | cut -d= -f2-`"
|
line="`grep $var= $infile | cut -d= -f2-`"
|
||||||
|
eval "line=$line"
|
||||||
if test -n "$line"; then
|
if test -n "$line"; then
|
||||||
str="$var="'"$'"$var $line"'"'
|
str="$var="'"$'"$var $line"'"'
|
||||||
eval $str
|
eval $str
|
||||||
@ -448,6 +449,7 @@ if test "$HAPPY" = "1"; then
|
|||||||
for flags in LDFLAGS LIBS; do
|
for flags in LDFLAGS LIBS; do
|
||||||
var="WRAPPER_EXTRA_${flags}"
|
var="WRAPPER_EXTRA_${flags}"
|
||||||
line="`grep $var= $infile | cut -d= -f2-`"
|
line="`grep $var= $infile | cut -d= -f2-`"
|
||||||
|
eval "line=$line"
|
||||||
if test -n "$line"; then
|
if test -n "$line"; then
|
||||||
str="$var="'"$'"$var $line"'"'
|
str="$var="'"$'"$var $line"'"'
|
||||||
eval $str
|
eval $str
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user