tests: More Makefile portability.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 15 Feb 2018 02:24:33 +0000 (11:24 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 15 Feb 2018 02:24:33 +0000 (11:24 +0900)
* tests/gpg/Makefile.am: Invoke GPG with TESTS_ENVIRONMENT.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
tests/gpg/Makefile.am

index 1d73d02..6a95e59 100644 (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