abr: use real file for fake gitconfig

This commit is contained in:
psykose 2023-04-28 02:38:30 +00:00
parent 1c203ac68f
commit 76fd04aaff
2 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: psykose <alice@ayaya.dev>
pkgname=abr
pkgver=11
pkgrel=1
pkgver=12
pkgrel=0
pkgdesc="abr~!"
url="https://git.ddd.rip/ptrcnull/aports"
arch="noarch"
@ -41,6 +41,6 @@ package() {
}
sha512sums="
0c4d617eb9cf40e7668c86bbf6402ac7c069aed43dea5dcfd9ab8934e78cf59baa5cbc4546e45c5bab2d919d760119adffbc1b8da87b4d18de1da94659998326 abr
337868e81aeee37323afeb967b7c8fb1ab9b768459a251eca8670f2f9a26fabfb30f7609a96200cc3f2ffc051ab035b7ecf22f9e03c86e3bce00e434f935335e abr
71d8cb1e5e57ff739915fa4de1f5699afa60ab36e2e5219c4c366af5ceab24dc6ee55e738d29ca2b63dd5e387de7661594fc86bf2183d787932e75b4c03c6a9f apkbuild-anitya
"

View file

@ -117,7 +117,9 @@ fi
export EXTRADEPENDS_BUILD="$extra pigz xz"
# ignore user gitconfig always
export GIT_CONFIG_GLOBAL=/dev/null
export GIT_CONFIG_GLOBAL="$(mktemp)"
trap 'rm -f "$GIT_CONFIG_GLOBAL"' EXIT INT TERM HUP
if [ -n "$full" ]; then
abuild checksum