index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2011-04-17 22:51:23 +1000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-04-17 22:18:56 +0200 |
commit | d187cdbc386165383bbc900a9e984c770ba2e557 (patch) | |
tree | baa39d34a1be61b88a2aa899ac86d27acf0f8164 /commitpkg | |
parent | fee49075f0e754e16cf759969a4b219d1f6d3414 (diff) |
-rwxr-xr-x | commitpkg | 5 |
@@ -132,7 +132,10 @@ for _arch in ${arch[@]}; do if [[ $SIGNPKG == 'y' ]]; then echo "Signing package ${pkgfile}..." - gpg --detach-sign --use-agent -u "${PACKAGER}" "${pkgfile}" || abort + if [[ -n $GPGKEY ]]; then + SIGNWITHKEY="-u ${GPGKEY}" + fi + gpg --detach-sign --use-agent ${SIGNWITHKEY} "${pkgfile}" || abort fi sigfile="${pkgfile}.sig" |