[WIP] Fix some brokenness when using on windows computers with spaces in the cloned path.

This commit is contained in:
budgidiere 2020-07-10 08:04:53 -05:00 committed by GitHub
parent b08ee86c99
commit 82af4c287b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
yapfa
View File

@ -9,7 +9,7 @@ while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symli
done
SOURCE=$([[ "$SOURCE" = /* ]] && echo "$SOURCE" || echo "$PWD/${SOURCE#./}")
basedir=$(dirname "$SOURCE")
. $basedir/scripts/init.sh
. "$basedir/scripts/init.sh"
paperstash() {
STASHED=$(git stash)