From 76fd04aaffde84b39c5f4195d8787e7d5615f6a4 Mon Sep 17 00:00:00 2001 From: psykose Date: Fri, 28 Apr 2023 02:38:30 +0000 Subject: [PATCH] abr: use real file for fake gitconfig --- abr/APKBUILD | 6 +++--- abr/abr | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/abr/APKBUILD b/abr/APKBUILD index 124ca69..a433029 100644 --- a/abr/APKBUILD +++ b/abr/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: psykose 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 " diff --git a/abr/abr b/abr/abr index 29b8bf2..293c5db 100755 --- a/abr/abr +++ b/abr/abr @@ -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