@ -1,17 +1,19 @@
handle_error() {
if [ $1 -gt 18 ]; then
echo
else
rm -rf bin bin-int
fi
echo "An error occurred on line $1"
exit 1
}
trap 'handle_error $LINENO' ERR
if [ "-clear" == "$1" ]; then
if [ "-clear" == "$2" ]; then
clear
premake5 gmake2
make