diff options
author | cls%seawood.org <devnull@localhost> | 2001-08-28 07:51:34 +0000 |
---|---|---|
committer | cls%seawood.org <devnull@localhost> | 2001-08-28 07:51:34 +0000 |
commit | f2a57803f4748985c1b55ffce79cfc5f4b2f5127 (patch) | |
tree | d35d28d27aad2261aeb9056d175218ae83731b78 | |
parent | d11d9d7c3031bdb265bb7d019b614fb8c13a1ab5 (diff) | |
download | nspr-hg-f2a57803f4748985c1b55ffce79cfc5f4b2f5127.tar.gz |
Escape ^ when calling grep as some shells interpret ^ instead of passing it to grep.
Thanks to dave@arsdigita.com (Drazen Kacar) for the patch.
Bug #96997 r=cls sr=wtc
-rwxr-xr-x | config/nspr-config.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/nspr-config.in b/config/nspr-config.in index d6776558..daae782d 100755 --- a/config/nspr-config.in +++ b/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 |