From a5ac763c6afcfdf885da5fd9f06907981c9a127e Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 3 Jun 2018 18:10:16 +0200 Subject: [PATCH] lib.sh: add missing quotes Found by shellcheck. --- lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib.sh b/lib.sh index 6a61902..bb60c52 100644 --- a/lib.sh +++ b/lib.sh @@ -120,9 +120,9 @@ os() { echo debian elif test -f /etc/gentoo-release; then echo gentoo - elif test x`uname` = xSunOS; then + elif test x"`uname`" = xSunOS; then echo sun - elif test x`uname` = xFreeBSD; then + elif test x"`uname`" = xFreeBSD; then echo freebsd else echo 'unsupported OS!' >&2 -- 2.45.2