Permalink
Cannot retrieve contributors at this time
executable file
11 lines (11 sloc)
292 Bytes
|
#!/bin/sh |
|
set -e |
|
if [ "$CABAL_SANDBOX_CONFIG" ] |
|
then set -- cabal sandbox hc-pkg -- check "$@" |
|
else set -- ghc-pkg check "$@" |
|
fi |
|
# suppress the useless warnings |
|
pattern="/^ *Warning: haddock-.* doesn't exist or isn't a/d" |
|
{ |
|
"$@" 3>&1 1>&2 2>&3 3>&- | sed "$pattern" |
|
} 3>&1 1>&2 2>&3 3>&- |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.