Escape ^ when calling grep as some shells interpret ^ instead of passing it to g
rep. Thanks to dave@arsdigita.com (Drazen Kacar) for the patch. Bug #96997 r=cls sr=wtc
This commit is contained in:
Родитель
18b17e5cde
Коммит
8fd5d3fd19
|
@ -107,7 +107,7 @@ if test "$echo_libs" = "yes"; then
|
|||
fi
|
||||
os_ldflags="@LDFLAGS@"
|
||||
for i in $os_ldflags ; do
|
||||
if echo $i | grep ^-L >/dev/null; then
|
||||
if echo $i | grep \^-L >/dev/null; then
|
||||
libdirs="$libdirs $i"
|
||||
fi
|
||||
done
|
||||
|
|
Загрузка…
Ссылка в новой задаче