tests: More Makefile portability.

* tests/gpg/Makefile.am: Invoke GPG with TESTS_ENVIRONMENT.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2018-02-15 11:24:33 +09:00
parent b5ec21b9ba
commit ba6e610baa

View File

@ -93,9 +93,9 @@ gpg-sample.stamp: $(srcdir)/$(private_keys)
echo x > ./gpg-sample.stamp
pubring-stamp: $(srcdir)/pubdemo.asc gpg-sample.stamp
$(GPG) --batch --no-permission-warning \
$(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \
--import $(srcdir)/pubdemo.asc
-$(GPG) --batch --no-permission-warning \
$(TESTS_ENVIRONMENT) -$(GPG) --batch --no-permission-warning \
--import $(srcdir)/secdemo.asc
echo x > ./pubring-stamp