]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
builder: Check md5 sums of downloaded patches
authorKacper Kornet <draenog@pld-linux.org>
Sun, 14 Apr 2013 23:53:10 +0000 (00:53 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Mon, 15 Apr 2013 00:01:53 +0000 (01:01 +0100)
The previous version allowed to continue when the md5 sum of patch
downloaded from upstream did not agree with the one recorded in spec.

builder.sh

index fb0606d86faf788172ab4daba683109456113795..405d47115ea5d206c124312f2466d9fd1ae22dce 100755 (executable)
@@ -2565,7 +2565,7 @@ case "$COMMAND" in
                case $? in
                        0)
                                get_files $SOURCES $PATCHES
-                               check_md5 $SOURCES
+                               check_md5 $SOURCES $PATCHES
                                ;;
                        *)
                                NODIST="yes" get_files $SOURCES $PATCHES
This page took 0.058996 seconds and 4 git commands to generate.