From f59bef3428d5d618eef4b301d4bff2dfe2cb449b Mon Sep 17 00:00:00 2001 From: Tristan Ancelet Date: Fri, 24 Nov 2023 17:52:36 -0600 Subject: [PATCH] Had to fix variable in check to $0 --- utils/update-repos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/update-repos.sh b/utils/update-repos.sh index edb85b8..b422af0 100755 --- a/utils/update-repos.sh +++ b/utils/update-repos.sh @@ -3,7 +3,7 @@ ## If user is not running this in the root of the project dir if [[ ! -d utils ]]; then ## Change directory to project dir - cd `dirname $1` + cd `dirname $0` cd .. fi