Ensure getter is in the right directory when running

This commit is contained in:
Adam Goldsmith 2018-10-05 13:41:51 -04:00
parent 1f8ad70893
commit b0fe2127df
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ then
cd .dotfiles
git remote set-url origin "$PULL_BASE/bootstrap.git"
git remote set-url --push origin "PUSH_BASE/bootstrap.git"
else
cd "$(dirname ${BASH_SOURCE[0]})"
fi
if [ "$#" -gt 0 ]