diff --git a/getter.sh b/getter.sh index 820fe31..ffd41f1 100755 --- a/getter.sh +++ b/getter.sh @@ -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 ]