tests: Fix distcheck.
[gpgme.git] / tests / start-stop-agent
index 9514e0a..7901374 100755 (executable)
@@ -39,6 +39,7 @@ do
       mv "$GNUPGHOME/$F" "$GNUPGHOME/$F~"
       sed -e "s#^agent-program.*#agent-program ${GPG_AGENT}|--debug-quick-random#" \
           >"$GNUPGHOME/$F" <"$GNUPGHOME/$F~"
+      rm "$GNUPGHOME/$F~"
   fi
 done