We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 19ce469 + 101ab7e commit 5db72daCopy full SHA for 5db72da
1 file changed
scripts/packages/rpm.sh
@@ -60,7 +60,8 @@ fi
60
# from /etc/os-release
61
if [ -z "$DIST_TAG" ]
62
then
63
- DIST_TAG=".${ID}${VERSION_ID%%.*}"
+ VERSION_ID=${VERSION_ID:-}
64
+ DIST_TAG=".${ID:-unknown}${VERSION_ID%%.*}"
65
fi
66
67
$(which rpmbuild) --clean --define "_topdir $RPM_TOP_DIR" \
0 commit comments