]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
mkpatch: trying to fix infinite loop on invalid action
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Mon, 19 May 2008 02:17:58 +0000 (02:17 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Mon, 19 May 2008 02:17:58 +0000 (02:17 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@513 04377dda-e619-0410-9926-eae83683ac58

trunk/doc/CHANGELOG
trunk/src/mkpatch

index d82622ad36ca6f0c7f5f46ec5b54c33ff8408a76..6202072a8a335568ace5261de67ee0c7f28a5d1d 100644 (file)
@@ -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
index 2fefcaab586a5652ef67641dd1b1700a5eb41393..27d2720be90930d94a56ffe8f74bd99d95db3894 100644 (file)
@@ -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