Some more improvements for the packaging/release-rsync script:
[rsync/rsync.git] / packaging / bin / gpg
diff --git a/packaging/bin/gpg b/packaging/bin/gpg
new file mode 100755 (executable)
index 0000000..e5d8f47
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+# This script gets git to run gpg with a --passphrase-file option.
+
+PATH=`echo $PATH | sed 's/^[^:]*://'`
+
+gpg --batch --passphrase-file=$GPG_PASSFILE "${@}"