diff --git a/build.sh b/build.sh index 8a88890..f9f6f6e 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 00aa8bf..f411df8 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