From 8740df32631fb6f17c8c463946155d09be9dc9b2 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 14 Jan 2023 16:25:05 +0100 Subject: [PATCH] dev --- bin/pkgbuilder | 2 +- plugins/github-branch | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/pkgbuilder b/bin/pkgbuilder index 2f725f5..e57dcb7 100755 --- a/bin/pkgbuilder +++ b/bin/pkgbuilder @@ -143,7 +143,7 @@ pkgBuild() { # $1=PKGNAME # shellcheck disable=SC2034 # Variable for plugin local -r PKGBUILD="${PKGDIR}/${PKGNAME}/files/PKGBUILD" . "${PLUGINFILE}" - local -r PKGFILES="${PKGDIR}/${PKGNAME}/files" + local PKGFILES="${PKGDIR}/${PKGNAME}/files" if ! PKGFILES=$(plugin_getpkgfiles "${PKGDIR}" "${PKGNAME}"); then if [[ "${DRYRUN}" == "0" ]]; then writeSetting "${PKGDIR}"/"${PKGNAME}"/settings "lastbuildstatus" "Error - No PKG files provided" diff --git a/plugins/github-branch b/plugins/github-branch index 4fd25cf..2237244 100644 --- a/plugins/github-branch +++ b/plugins/github-branch @@ -68,7 +68,6 @@ plugin_update() { writeSetting "${PKGBUILD}" "pkgname" "${PKGNAME}" writeSetting "${PKGBUILD}" "pkgrel" "1" local -r PKGVERSION=$(readSetting "${PKGSETTINGS}" "pkgver" "0") - local -r PKGREVISION=$(readSetting "${PKGSETTINGS}" "pkgrev" "0") local -r PKGNEWREVISION=$((PKGREVISION + 1)) writeSetting "${PKGBUILD}" "pkgver" "${PKGVERSION}.r${PKGNEWREVISION}.${ONLINECOMMIT:0:7}" } \ No newline at end of file