Merge pull request #8 from NieDzejkob/stop-on-error

Stop the script on the first error using the set -e command
This commit is contained in:
Marcus Huderle
2018-04-06 08:22:29 -07:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/sh
set -e
make -C gcc clean
make -C gcc old
mv gcc/old_agbcc .

View File

@@ -1,4 +1,5 @@
#!/bin/sh
set -e
if [ "$1" != "" ]; then
mkdir -p $1/tools/agbcc
mkdir -p $1/tools/agbcc/bin