Update update.sh

This commit is contained in:
Santiago Lo Coco 2022-02-08 01:44:28 -03:00
parent 95c4b979c5
commit 285f8c4db3
1 changed files with 1 additions and 1 deletions

View File

@ -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; }