From dcdf6190c8f7cbd87538805f85a94d51ef2af8b0 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 1 Nov 2016 23:09:21 +1100 Subject: [PATCH] Distro: [Linux] Fix incorrect quoting --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index e97a7296..de657a3c 100755 --- a/neofetch +++ b/neofetch @@ -172,8 +172,8 @@ getdistro() { esac # Workarounds for distros that go against the os-release standard. - [ -z "$(trim $distro")" ] && distro="$(awk '/BLAG/ {print $1; exit}' /etc/*ease /usr/lib/*ease)" - [ -z "$(trim $distro")" ] && distro="$(awk -F'=' '{print $2}' /etc/*ease /usr/lib/*ease)" + [ -z "$(trim "$distro")" ] && distro="$(awk '/BLAG/ {print $1; exit}' /etc/*ease /usr/lib/*ease)" + [ -z "$(trim "$distro")" ] && distro="$(awk -F'=' '{print $2}' /etc/*ease /usr/lib/*ease)" fi distro="${distro//\"}" distro="${distro//\'}"