include bindisttest in source distributions (fixes srcdist)
[ghc-hetmet.git] / validate
index 7949d62..1852358 100644 (file)
--- a/validate
+++ b/validate
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 if [ -f mk/config.mk ]; then
    make distclean
@@ -25,13 +27,9 @@ case $OSTYPE in
 esac
 
 if [ "$CPUS" = "" ]; then
-   # ToDo: make -j doesn't work in libraries/ on Windows (see #1559)
-   case $OSTYPE in
-       cygwin|msys) threads=1;;
-       *)           threads=2;;
-   esac
+    threads=2
 else
-   threads=`expr $CPUS + 1`
+    threads=`expr $CPUS + 1`
 fi
 
 sh boot