mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-26 20:55:30 +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
|
#!/bin/bash
|
||||||
sourceBase=$(dirname $SOURCE)/../
|
sourceBase=$(dirname $SOURCE)/../
|
||||||
cd ${basedir:-$sourceBase}
|
cd "${basedir:-$sourceBase}"
|
||||||
|
|
||||||
basedir=$(pwd -P)
|
basedir=$(pwd -P)
|
||||||
cd -
|
cd -
|
||||||
|
2
yapfa
2
yapfa
@ -9,7 +9,7 @@ while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symli
|
|||||||
done
|
done
|
||||||
SOURCE=$([[ "$SOURCE" = /* ]] && echo "$SOURCE" || echo "$PWD/${SOURCE#./}")
|
SOURCE=$([[ "$SOURCE" = /* ]] && echo "$SOURCE" || echo "$PWD/${SOURCE#./}")
|
||||||
basedir=$(dirname "$SOURCE")
|
basedir=$(dirname "$SOURCE")
|
||||||
. $basedir/scripts/init.sh
|
. "$basedir"/scripts/init.sh
|
||||||
|
|
||||||
paperstash() {
|
paperstash() {
|
||||||
STASHED=$(git stash)
|
STASHED=$(git stash)
|
||||||
|
Loading…
Reference in New Issue
Block a user