Skip to content

Commit

Permalink
Add error handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewwutw committed Oct 22, 2017
1 parent de7fc54 commit 3871777
Show file tree
Hide file tree
Showing 17 changed files with 2 additions and 17 deletions.
3 changes: 2 additions & 1 deletion build-djgpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ fi

if [ -x script/$BUILD_VER ]; then
echo "Building version : $BUILD_VER"
script/$BUILD_VER
script/$BUILD_VER || exit 1
else
echo "Unsupported version : $BUILD_VER"
exit 1
fi
1 change: 0 additions & 1 deletion script/4.7.3
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/4.8.4
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/4.8.5
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/4.9.2
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/4.9.3
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/4.9.4
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/5.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/5.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/5.3.0
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/5.4.0
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/6.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/6.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/6.3.0
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/6.4.0
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/7.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."
1 change: 0 additions & 1 deletion script/7.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,5 @@ do
;;
esac
done
exit 1

echo "build-djgpp.sh done."

0 comments on commit 3871777

Please sign in to comment.