From 1cf283e7966edcb79f0053e4a41f52ee92c20f95 Mon Sep 17 00:00:00 2001 From: Marcel Stangenberger Date: Fri, 11 Apr 2025 19:40:21 +0000 Subject: [PATCH] pass argument to functon --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 8ba73c6..9df6587 100644 --- a/deploy.sh +++ b/deploy.sh @@ -13,7 +13,7 @@ Fail() { } Exec() { - echo -e "${GREEN}Starting installation of $1${NOCOL}" + echo -e "${GREEN}Starting installation of $1${NOCOL}" sleep 2 bash -c "$(curl -fsSL $REPO/raw/master/$1/install.sh)" exit 0 @@ -23,5 +23,5 @@ if [[ -z $1 ]] then Fail else - Exec + Exec $1 fi