tests: Fix distcheck.
authorJustus Winter <justus@g10code.com>
Thu, 13 Jul 2017 14:06:27 +0000 (16:06 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 13 Jul 2017 14:06:27 +0000 (16:06 +0200)
* tests/start-stop-agent: Remove backup file.

Fixes-commit: 9cd2b58dfb2c21cce64520cf4c726859b583d14e
Signed-off-by: Justus Winter <justus@g10code.com>
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