Fixed a multiline expression

This commit is contained in:
Fabio Manganiello 2023-09-23 16:37:52 +02:00
parent ad2ee75c99
commit bbd8e939e6
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -750,7 +750,8 @@ steps:
EOF EOF
- export PGP_KEYID=$(echo "$PGP_PUBKEY" | gpg --with-colons --import-options show-only --import --fingerprint | grep -e '^fpr:' | head -1 | awk -F ':' '{print $(NF - 1)}') - export PGP_KEYID=$(echo "$PGP_PUBKEY" | gpg --with-colons --import-options show-only --import --fingerprint | grep -e '^fpr:' | head -1 | awk -F ':' '{print $(NF - 1)}')
- cat <<EOF > $HOME/.rpmmacros - |
cat <<EOF > $HOME/.rpmmacros
%signature gpg %signature gpg
%_gpg_name $PGP_KEYID %_gpg_name $PGP_KEYID
EOF EOF