Fixing minor build.sh bug

This commit is contained in:
Andrew Gibiansky 2015-03-06 21:12:51 -08:00
parent 145961046e
commit 8379d79d0f

View File

@ -23,7 +23,7 @@ if [ $# -lt 1 ]; then
exit 1
fi
if [ ! $1 = "all" ] || [ ! $1 = "ihaskell" ] || [ ! $1 = "display" ] || [ ! $1 = "quick" ]; then
if [ ! $1 = "all" ] && [ ! $1 = "ihaskell" ] && [ ! $1 = "display" ] && [ ! $1 = "quick" ]; then
print_help;
exit 1;
fi