Skip to content

Commit

Permalink
Merge pull request #86 from crazy-max/fix-os-version
Browse files Browse the repository at this point in the history
xx-info: fix os-version
  • Loading branch information
tonistiigi authored Oct 31, 2022
2 parents 8b58780 + 0c10a44 commit 1a2c2ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/xx-info
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
: "${XX_DEBIAN_ARCH=unknown}"
# https://docs.fedoraproject.org/ro/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch01s03.html
: "${XX_RHEL_ARCH=unknown}"
: "${XX_OS_VERSION=unknown}"
: "${XX_OS_VERSION=}"
: "${XX_TRIPLE=unknown-unknown-none}"
: "${XX_VENDOR=}"
: "${XX_LIBC=}"
Expand Down Expand Up @@ -110,6 +110,7 @@ distro=""
# shellcheck disable=SC1091
if . /etc/os-release 2>/dev/null; then
distro=$ID
XX_OS_VERSION=$VERSION_ID
fi

vendor=""
Expand Down

0 comments on commit 1a2c2ae

Please sign in to comment.