aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-05-19 02:17:58 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-05-19 02:17:58 +0000
commitcb96b77a89846024572c1b7503c102fee573f458 (patch)
tree229a972254c62b2cdb2f9f85d157e5432d7acb4c
parentce4b6fe402500e12e35690f58fd5da081d8a00f3 (diff)
downloadsimplepkg-cb96b77a89846024572c1b7503c102fee573f458.tar.gz
simplepkg-cb96b77a89846024572c1b7503c102fee573f458.tar.bz2
mkpatch: trying to fix infinite loop on invalid action
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@513 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--trunk/doc/CHANGELOG1
-rw-r--r--trunk/src/mkpatch3
2 files changed, 3 insertions, 1 deletions
diff --git a/trunk/doc/CHANGELOG b/trunk/doc/CHANGELOG
index d82622a..6202072 100644
--- a/trunk/doc/CHANGELOG
+++ b/trunk/doc/CHANGELOG
@@ -4,6 +4,7 @@ simplepkg changelog
0.6pre28
========
+ - mkpatch: fixed infinite loop on invalid diff action
- mkbuild 1.2.7:
- new ACTION bugfix
- search result bugfix
diff --git a/trunk/src/mkpatch b/trunk/src/mkpatch
index 2fefcaa..27d2720 100644
--- a/trunk/src/mkpatch
+++ b/trunk/src/mkpatch
@@ -129,7 +129,8 @@ while [ $Source_Line -le $Source_N_Lines ]; do
Diff_Pointer=$Diff_Line
get_diff_line $Diff_Line $Diff_File || exit $?
;;
- '*')
+ *)
+ echo "Invalid diff action."
exit $ERROR_MKPATCH
;;
esac