From dc73b547c6f77b130f1b44fa74a9b1be2c98c2b0 Mon Sep 17 00:00:00 2001 From: SMLinux Date: Sat, 29 Jan 2022 01:20:03 +0530 Subject: [PATCH] Discarded redundant verifychecksums code from bldpkg --- bldpkg | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/bldpkg b/bldpkg index 59c4524..207114f 100755 --- a/bldpkg +++ b/bldpkg @@ -11,25 +11,6 @@ SRCDIR="$PWD" # get relative directory name from SRCDIR SRCDIRRPATH="$(basename $SRCDIR)" -# verify checksums -verifychecksums() { - if [ -z "$SHA512SUMS" ] ; then - echo "sha512 checksums don't exist in $SRCDIRRPATH.SMBuild !" - echo "Please run bldpkg genchecksum" - exit 1 - fi - - eval sums=\"\$SHA512SUMS\" - - echo "Verifying Checksums..." - IFS=$'\n' - for src in $sums; do - echo "$src" | sha512sum -c - done - unset IFS - echo "Looks good..." -} - # Generate sha512sums in the build file genchecksum() { echo "Discarding old SHA512SUMS from $SRCDIRRPATH.SMBuild"