Correcting legacy filename for checksum files.
authorDaniel Baumann <daniel@debian.org>
Wed, 2 Jan 2013 10:23:08 +0000 (11:23 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 2 Jan 2013 10:23:08 +0000 (11:23 +0100)
scripts/build/binary_checksums
scripts/build/source_checksums

index 3636d68..a19f162 100755 (executable)
@@ -49,7 +49,7 @@ do
                        ;;
 
                *)
-                       CHECKSUMS="${CHECKSUM}sums.txt"
+                       CHECKSUMS="${CHECKSUM}sum.txt"
                        ;;
        esac
 
@@ -68,7 +68,7 @@ do
                \! -path './boot/boot.bin' \
                \! -path './boot/grub/stage2_eltorito' \
                \! -path './*SUMS' \
-               \! -path './*sums.txt' \
+               \! -path './*sum.txt' \
        -print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
 
 cat > ${CHECKSUMS} << EOF
index f2fe6e1..2923a6e 100755 (executable)
@@ -56,7 +56,7 @@ do
                                ;;
 
                        *)
-                               CHECKSUMS="${CHECKSUM}sums.txt"
+                               CHECKSUMS="${CHECKSUM}sum.txt"
                                ;;
                esac
 
@@ -72,7 +72,7 @@ do
                cd ${DIRECTORY}
                find . -type f \
                        \! -path './*SUMS' \
-                       \! -path './*sums.txt' \
+                       \! -path './*sum.txt' \
                -print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
 
 cat > ${CHECKSUMS} << EOF