From f4c58235e25cbe3b62cda926d1bcf0ab4f256ed4 Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Wed, 15 Apr 2020 14:35:14 -0400 Subject: [PATCH] more sudo --- scripts/remove-svc.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/remove-svc.sh b/scripts/remove-svc.sh index 741c8aa21..7fae4ca97 100755 --- a/scripts/remove-svc.sh +++ b/scripts/remove-svc.sh @@ -42,6 +42,9 @@ if [ -z "${RUNNER_CFG_PAT}" ]; then fatal "RUNNER_CFG_PAT must be set before cal which curl || fatal "curl required. Please install in PATH with apt-get, brew, etc" which jq || fatal "jq required. Please install in PATH with apt-get, brew, etc" +runner_plat=linux +[ ! -z "$(which sw_vers)" ] && runner_plat=osx; + #-------------------------------------- # Get a remove token #--------------------------------------