From 285f8c4db36ea748686877bc733a0756a8e09886 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 8 Feb 2022 01:44:28 -0300 Subject: [PATCH] Update update.sh --- scripts/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update.sh b/scripts/update.sh index 69c442b..105de53 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -9,7 +9,7 @@ updateSubmodules() { } runScript() { - lastFolder=$(pwd -P) + lastFolder=$PWD sadedotParentFolder=$(pwd -P | awk '{ sub(/\/sadedot.*/, ""); print }') cd "$sadedotParentFolder" || { echo "Couldn't cd into '$sadedotParentFolder'." 1>&2 && exit 1; }