chiark / gitweb /
New gnupg agent thing
[dgit.git] / tests / tstunt / gpg
index d71aa63f359d601081ef215188ef69d5cc09f120..74152bd990670362e7e62f49cefe5068fede007b 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 set -e
-exec                                                   \
-$DGIT_TEST_REAL_GPG                                    \
-       --agent-program=$DGIT_STUNT_AGENT               \
-       "$@"
+
+exec \
+with-lock-ex -w "$DGIT_TEST_GNUPG_GLOBAL_LOCK" \
+       $tmp "$DGIT_TEST_TROOT"/tstunt/gpg-withagent "$@"