From 6ebe94f014fd15fc5ba33246dc1d27775a446926 Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Wed, 22 Apr 2020 13:24:09 -0400 Subject: [PATCH] remove quotes --- scripts/subinstallers/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/subinstallers/platform.sh b/scripts/subinstallers/platform.sh index 305bf16..a619a95 100755 --- a/scripts/subinstallers/platform.sh +++ b/scripts/subinstallers/platform.sh @@ -9,7 +9,7 @@ VERSION_ID="" if [ "$UNAME" == "linux" ]; then # use /etc/os-release to get distro DISTRO=$(cat /etc/os-release | awk -F= '/^ID=/{print $2}') - VERSION_ID=$(cat /etc/os-release | awk -F= '/^VERSION_ID=/{print $2}') + VERSION_ID=$(cat /etc/os-release | awk -F= '/^VERSION_ID=/{print $2}' | tr -d '"') fi figlet "UNAME: $UNAME"