Folks, for your consideration here's a minor change to allow commands other than "gpg" to be passed in as cli option. This is useful when a machine running this script has gpg2 instead of plain gpg or perhaps other gpg-compliant tooling that's not gpg or wraps it.
This is a backwards-compatible change and does not interfere or breaks cli functionality as it exists today.
Example of cli option being used:
deb-s3 upload --bucket my-bucket my-deb-package-1.0.0_amd64.deb --gpg_cmd gpg2
Folks, for your consideration here's a minor change to allow commands other than "gpg" to be passed in as cli option. This is useful when a machine running this script has
gpg2
instead of plaingpg
or perhaps other gpg-compliant tooling that's notgpg
or wraps it.This is a backwards-compatible change and does not interfere or breaks cli functionality as it exists today.
Example of cli option being used:
deb-s3 upload --bucket my-bucket my-deb-package-1.0.0_amd64.deb --gpg_cmd gpg2
Signed-off-by: Ruben Orduz rubenoz@gmail.com