From ad286bdbab07fcf63bc5180eb0d6734cb9bb1da6 Mon Sep 17 00:00:00 2001 From: Piotr Gogolin Date: Mon, 21 Mar 2022 14:08:17 +0100 Subject: [PATCH] Update setup.sh Fix No such file or directory error --- setup/macos/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/macos/setup.sh b/setup/macos/setup.sh index 4bed6dc..f956996 100755 --- a/setup/macos/setup.sh +++ b/setup/macos/setup.sh @@ -83,7 +83,7 @@ delete_kubectl_context() { apply_role_resources() { echo "Creating role resources for user '${USERNAME}' in namespace '${1}' ..." - if ! sed "s/{username}/${USERNAME}/g; s/{namespace}/${1}/g" $SCRIPTPATH/files/role-binding.yml | kubectl apply -f - > /dev/null 2>&1 ; then + if ! sed "s/{username}/${USERNAME}/g; s/{namespace}/${1}/g" $SCRIPTPATH/../files/role-binding.yml | kubectl apply -f - > /dev/null 2>&1 ; then echo "Could not apply security resources" exit fi