[devtools,v2] Expand check_root keepenv variables

Message ID 20181221220618.26510-1-foxboron@archlinux.org
State Accepted
Headers show
Series
  • [devtools,v2] Expand check_root keepenv variables
Related show

Commit Message

Eli Schwartz via arch-projects Dec. 21, 2018, 10:06 p.m. UTC
From: Morten Linderud <foxboron@archlinux.org>

Les us source makepkg.conf settings from the environemnt. This also includes
`GNUPGHOME` which is present in `makechrootpkg`, but not included in archbuild.

Signed-off-by: Morten Linderud <foxboron@archlinux.org>
---
 archbuild.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/archbuild.in b/archbuild.in
index 1e5b582..bd5706d 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -39,7 +39,7 @@  while getopts 'hcr:' arg; do
 	esac
 done
 
-check_root SOURCE_DATE_EPOCH
+check_root SOURCE_DATE_EPOCH,SRCDEST,SRCPKGDEST,PKGDEST,LOGDEST,MAKEFLAGS,PACKAGER,GNUPGHOME
 
 # Pass all arguments after -- right to makepkg
 makechrootpkg_args+=("${@:$OPTIND}")