X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fquilt.mk;h=796e7160c480e717d592f2093390f656c29dc54b;hb=d2ddda691eeac92c6854658fb7389b7f9485d6c8;hp=cd392a7c5dd024ac97c55157900570eb7707be66;hpb=22ef1c83b35cd5633b0c58c9c38a43494a906a6a;p=librecmc%2Flibrecmc.git diff --git a/include/quilt.mk b/include/quilt.mk index cd392a7c5d..796e7160c4 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -149,7 +149,8 @@ define Quilt/Template echo "The source directory contains no quilt patches."; \ false; \ } - @[ -n "$$$$(ls $(1)/patches/series)" -o "$$$$(cat $(1)/patches/series | md5sum)" = "$$(sort $(1)/patches/series | md5sum)" ] || { \ + @[ -n "$$$$(ls $(1)/patches/series)" -o \ + "$$$$(cat $(1)/patches/series | mkhash md5)" = "$$(sort $(1)/patches/series | mkhash md5)" ] || { \ echo "The patches are not sorted in the right order. Please fix."; \ false; \ }