diff --git a/build.sh b/build.sh index b017e08..bc429f6 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -e make -C gcc clean make -C gcc old mv gcc/old_agbcc . diff --git a/install.sh b/install.sh index 12a99f4..756c78a 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -e if [ "$1" != "" ]; then mkdir -p $1/tools/agbcc mkdir -p $1/tools/agbcc/bin