Skip to content

Commit

Permalink
Merge pull request #19 from grooverdan/empty-os-release
Browse files Browse the repository at this point in the history
build: empty /etc/os-release
  • Loading branch information
grooverdan authored Jul 23, 2024
2 parents 19ce469 + 101ab7e commit 5db72da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/packages/rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ fi
# from /etc/os-release
if [ -z "$DIST_TAG" ]
then
DIST_TAG=".${ID}${VERSION_ID%%.*}"
VERSION_ID=${VERSION_ID:-}
DIST_TAG=".${ID:-unknown}${VERSION_ID%%.*}"
fi

$(which rpmbuild) --clean --define "_topdir $RPM_TOP_DIR" \
Expand Down

0 comments on commit 5db72da

Please sign in to comment.