From 8fd5d3fd19e5ea61c5df05edd955224c4fae3849 Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Tue, 28 Aug 2001 07:51:03 +0000 Subject: [PATCH] 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 --- nsprpub/config/nspr-config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsprpub/config/nspr-config.in b/nsprpub/config/nspr-config.in index d67765584d1..daae782d948 100755 --- a/nsprpub/config/nspr-config.in +++ b/nsprpub/config/nspr-config.in @@ -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