distro script: Removed unnecessary quotes

This commit is contained in:
Nils Steinger
2015-09-24 01:38:42 +02:00
parent 1b816f194d
commit e853eb1c54
+2 -2
View File
@@ -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