From: Cat Stevens Date: Sun, 19 Aug 2018 11:30:03 +0000 (-0400) Subject: build.sh: final two local vars X-Git-Tag: 0.99~4037 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=3214332510f833b7d1f7a58fd3db7e4ab628b9f5 build.sh: final two local vars --- diff --git a/build.sh b/build.sh index 4b47ca940f..b4854cc2c9 100755 --- a/build.sh +++ b/build.sh @@ -590,9 +590,9 @@ update_boot_image() { $DELETE temp/staging.*.image > /dev/null 2>&1 if [[ -f $BOOT_IMAGE ]] ; then get_url $CHECKSUM_URL - factorcode_md5=$(cat checksums.txt | grep $BOOT_IMAGE | cut -f2 -d' ') + local factorcode_md5=$(cat checksums.txt | grep $BOOT_IMAGE | cut -f2 -d' ') set_md5sum - disk_md5=$($MD5SUM $BOOT_IMAGE | cut -f1 -d' ') + local disk_md5=$($MD5SUM $BOOT_IMAGE | cut -f1 -d' ') $ECHO "Factorcode md5: $factorcode_md5"; $ECHO "Disk md5: $disk_md5"; if [[ "$factorcode_md5" == "$disk_md5" ]] ; then