chiark / gitweb /
New tool to get/update/switch (as appropriate) subdirectories in a tree
[bin.git] / gpg-refresh-cache
1 #! /bin/sh
2 TMPDIR="$(mktemp -d /tmp/gpg-refresh-cache.XXXXXX)"
3 trap 'rm -rf "$TMPDIR"' EXIT
4 touch "$TMPDIR/foo"
5 gpg --clearsign "$TMPDIR/foo"