APKBUILD should be $APKBUILD

This commit is contained in:
Rohit Lodha 2022-07-03 06:11:32 +00:00 committed by Natanael Copa
parent 21880d296a
commit 37e150738e

View File

@ -2339,14 +2339,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
@ -2358,7 +2358,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)" \