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