arch-repo-manager/librepomgr/testfiles/scripts/fake_gpg.sh
Martchus 1c75e8f957 Allow signing packages manually after the build
Simply adding `--sign` to the `makepkg` flags doesn't work because it would
require setting up GPG within the chroot environment (of `makechrootpkg`).

When debugging it is anyways annoying that `makepkg` sends the `gpg` output
to `/dev/null`. This way the logs are preserved.
2021-03-14 21:53:51 +01:00

5 lines
100 B
Bash
Executable File

#!/bin/bash
echo "fake gpg: $@"
echo "fake signature with GPG key ${@: -2}" > "${@: -1}.sig"
exit 0