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