summaryrefslogtreecommitdiffstats
path: root/systems/build_base_machine.sh
diff options
context:
space:
mode:
Diffstat (limited to 'systems/build_base_machine.sh')
-rwxr-xr-xsystems/build_base_machine.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/systems/build_base_machine.sh b/systems/build_base_machine.sh
index c64f7bb2..59712b96 100755
--- a/systems/build_base_machine.sh
+++ b/systems/build_base_machine.sh
@@ -38,7 +38,7 @@ function die() {
. /etc/os-release
# Get OS name (the First word from $NAME in /etc/os-release)
-OS_NAME=`echo "$NAME" | cut -d ' ' -f1`
+OS_NAME="$ID"
# check if root
if [ "$UID" -ne "$ROOT_UID" ]