mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 16:20:09 +01:00
contrib/build: ignore missing signingkey in git config
Fixes:64f8ec6099('rpm/build*.sh: trap failures') (cherry picked from commit90c403f4ef)
This commit is contained in:
parent
1e89a05a20
commit
f275a4d08a
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ rpmbuild --define "_topdir $TEMP" $RPM_BUILD_OPTION "$TEMPSPEC" $NM_RPMBUILD_ARG
|
|||
LS_EXTRA=()
|
||||
|
||||
if [ "$SIGN_SOURCE" = 1 ]; then
|
||||
SIGNKEY="$(git config --get user.signingkey)"
|
||||
SIGNKEY="$(git config --get user.signingkey || :)"
|
||||
if [ "$SIGNKEY" != "" ]; then
|
||||
SIGNKEY="--local-user $(printf '%q' "$SIGNKEY")"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue