index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-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" |