Another possible fix.

This commit is contained in:
DariusIII
2015-10-13 23:26:31 +02:00
parent 12480f5836
commit 14c6830c37
3 changed files with 20 additions and 9 deletions
+12 -1
View File
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
#!/bin/sh
EXIT_STATUS=0
# Add changes.
git add -i
@@ -9,5 +11,14 @@ nano Changelog
# Add changes to changelog.
git add Changelog
php build/NewPatches.php
EXIT_STATUS="$?"
if [ ${EXIT_STATUS} -gt 0 ]
then
echo "\nProblem while converting SQL patch files!\n";
exit ${EXIT_STATUS}
fi
# Commit changes.
git commit