From 4d2ba5fde8a58a8be4965da38abd04331ef11a91 Mon Sep 17 00:00:00 2001
From: Rohit Lodha <rohitlodha@gmail.com>
Date: Sun, 3 Jul 2022 06:11:32 +0000
Subject: [PATCH] APKBUILD should be $APKBUILD

---
 abuild.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/abuild.in b/abuild.in
index 6d776a4b..99c15006 100755
--- a/abuild.in
+++ b/abuild.in
@@ -2331,14 +2331,14 @@ builddeps() {
 checksum() {
 	local s files
 	[ -z "$source" ] && [ -n "${md5sums}${sha256sums}${sha512sums}" ] \
-		&& msg "Removing checksums from APKBUILD"
+		&& msg "Removing checksums from $APKBUILD"
 	sed -E -i \
 		-e '/^(md5|sha[0-9]+)sums=".*"$/d' \
 		-e '/^(md5|sha[0-9]+)sums="/,/"$/d' \
 		\
 		-e "/^(md5|sha[0-9]+)sums='.*'\$/d" \
 		-e "/^(md5|sha[0-9]+)sums='/,/'\$/d" \
-		APKBUILD
+		"$APKBUILD"
 
 	[ -z "$source" ] && return 0
 	fetch
@@ -2350,7 +2350,7 @@ checksum() {
 		files="$files $name"
 	done
 
-	msg "Updating the sha512sums in APKBUILD..."
+	msg "Updating the sha512sums in $APKBUILD..."
 	md5sums=
 	sha256sums=
 	sha512sums="$(cd "$srcdir" && sha512sum $files)" \
-- 
GitLab