Qt: Fix usage of ignore-invalid-option in tests
authorAndre Heinecke <aheinecke@intevation.de>
Thu, 14 Jul 2016 14:32:56 +0000 (16:32 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Thu, 14 Jul 2016 14:32:56 +0000 (16:32 +0200)
* Makefile.am (pubring-stamp): Fix config.

lang/qt/tests/Makefile.am

index e2ded78..348c05b 100644 (file)
@@ -69,10 +69,10 @@ export GNUPGHOME := $(abs_builddir)
 
 ./pubring-stamp: $(top_srcdir)/tests/gpg/pubdemo.asc \
                     $(top_srcdir)/tests/gpg/secdemo.asc
-       echo "ignore-invalid-options" > gpg-agent.conf
-       echo "allow-loopback-pinentry" > gpg-agent.conf
-       echo "ignore-invalid-options" > gpg.conf
-       echo "pinentry-mode loopback" > gpg.conf
+       echo "ignore-invalid-option allow-loopback-pinentry" > $(abs_builddir)/gpg-agent.conf
+       echo "allow-loopback-pinentry" >> gpg-agent.conf
+       echo "ignore-invalid-option pinentry-mode" > gpg.conf
+       echo "pinentry-mode loopback" >> gpg.conf
        $(GPG) --no-permission-warning \
            --import $(top_srcdir)/tests/gpg/pubdemo.asc
        $(GPG) --no-permission-warning \