ots-git (367B)
1 #!/usr/bin/env sh 2 3 # Wrapper for the ots-git-gpg-wrapper 4 # 5 # Required because git's gpg.program option doesn't allow you to set command 6 # line options; see the doc/git-integration.md 7 8 if [ -n "$GIT_OTS" ] && [ "$GIT_OTS" -eq 1 ]; then 9 exec ots-git-gpg-wrapper --gpg-program /run/current-system/sw/bin/gpg -- "$@" 10 else 11 exec /run/current-system/sw/bin/gpg "$@" 12 fi 13