]> git.ipfire.org Git - pakfire.git/commitdiff
Sort patches by their version number (not in alphabetical order).
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 26 Jun 2012 17:32:11 +0000 (19:32 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 26 Jun 2012 17:32:11 +0000 (19:32 +0200)
macros/constants.macro

index 07459a39e3d104ec889a65f14b80baa29cfef91a..74484ea6ff29f360993305503dfe73f63eab5807 100644 (file)
@@ -11,7 +11,7 @@ DIR_SOURCE  = %{BASEDIR}
 
 # By default, take all patches from the patches directory
 # in alphabetical order.
-patches = $(find %{DIR_PATCHES} -not -type d 2>/dev/null | sort)
+patches = $(find %{DIR_PATCHES} -not -type d 2>/dev/null | sort --version-sort)
 sources = %{thisapp}.tar.gz
 
 # Macro definitions