mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-22 18:46:27 +01:00
Merge pull request #15 from budgidiere/patch-1
Fix some brokenness when using on windows computers with spaces...
This commit is contained in:
commit
f72fe7e136
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
sourceBase=$(dirname $SOURCE)/../
|
||||
cd ${basedir:-$sourceBase}
|
||||
cd "${basedir:-$sourceBase}"
|
||||
|
||||
basedir=$(pwd -P)
|
||||
cd -
|
||||
|
2
yapfa
2
yapfa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user