From a75b5a9542a9db304715b7d8e3de25cba7a03668 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 1 Feb 2019 00:29:18 -0600 Subject: [PATCH] Update test.sh --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index eff468e..23e4922 100755 --- a/test.sh +++ b/test.sh @@ -32,5 +32,5 @@ function myfunc() echo "ok" } -if [ $(detect_os[1]) = "debian" ]; then echo 'YES'; fi +if [ ${$(detect_os OS)[1]} = "debian" ]; then echo 'YES'; fi