Merge pull request #4363 from jacereda/master

Fix shell return code, closes #4362
This commit is contained in:
Jan de Muijnck-Hughes 2018-03-09 11:59:09 +00:00 committed by GitHub
commit 86615f026b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ foreach $b (@bm) {
print "Building $1 / $2\n";
chdir $1;
system("idris --clean $2.ipkg");
system("idris --build $2.ipkg");
system("idris --build $2.ipkg") == 0 or die "Unable to build $2: $?";
chdir "..";
}
}