test: use hyphen in DISTRO_CODE instead of underscore

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2021-07-09 12:13:31 +02:00 committed by Ondřej Budai
parent 4c5d1ae45a
commit 27693b1949
4 changed files with 4 additions and 7 deletions

View file

@ -4,4 +4,4 @@
source /etc/os-release
ARCH=$(uname -m)
DISTRO_CODE="${DISTRO_CODE:-${ID}_${VERSION_ID//./}}"
DISTRO_CODE="${DISTRO_CODE:-${ID}-${VERSION_ID//./}}"