Commit f064be60 authored by Duncan Coutts's avatar Duncan Coutts

Solaris 9 /bin/sh doesn't like the ! syntax in bootstrap.sh

parent 1eec8ef9
......@@ -58,7 +58,13 @@ ${GHC_PKG} list > ghc-pkg.list \
need_pkg () {
PKG=$1
VER_MATCH=$2
! grep " ${PKG}-${VER_MATCH}" ghc-pkg.list > /dev/null 2>&1
if grep " ${PKG}-${VER_MATCH}" ghc-pkg.list > /dev/null 2>&1
then
return 1;
else
return 0;
fi
#Note: we cannot use "! grep" here as Solaris 9 /bin/sh doesn't like it.
}
info_pkg () {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment