1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 05:12:40 +03:00

copr: fix logic around source archive name for !copr

This commit is contained in:
Wez Furlong 2023-10-03 07:36:57 -07:00
parent 99639ad5b3
commit 45827136ed
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -11,7 +11,7 @@ else
TAR_NAME=wezterm-${TAG_NAME}-src.tar
fi
if test -d ${COPR_SRPM} ; then
if test -n "${COPR_SRPM}" ; then
TAG_NAME=$(git -c "core.abbrev=8" show -s "--format=%cd_%h" "--date=format:%Y%m%d_%H%M%S")
TAR_NAME=wezterm-${TAG_NAME}.tar
fi