From e853eb1c541c10d44e7836b23d6a9c2999f921d9 Mon Sep 17 00:00:00 2001 From: Nils Steinger Date: Thu, 24 Sep 2015 01:38:42 +0200 Subject: [PATCH] distro script: Removed unnecessary quotes --- scripts/distro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/distro b/scripts/distro index f97c4e94d..b4d6b74b4 100755 --- a/scripts/distro +++ b/scripts/distro @@ -42,8 +42,8 @@ elif [ "${OS}" = "Linux" ] ; then REV="" # Omit version since Arch Linux uses rolling releases IGNORE_LSB=1 # /etc/lsb-release would overwrite $REV with "rolling" elif [ -f /etc/os-release ] ; then - DIST="$(grep '^NAME=' /etc/os-release | cut -d= -f2- | tr -d '\"')" - REV="$(grep '^VERSION_ID=' /etc/os-release | cut -d= -f2- | tr -d '\"')" + DIST=$(grep '^NAME=' /etc/os-release | cut -d= -f2- | tr -d '"') + REV=$(grep '^VERSION_ID=' /etc/os-release | cut -d= -f2- | tr -d '"') fi if [ -f /etc/lsb-release -a "${IGNORE_LSB}" != 1 ] ; then