Batch files now work in directories with spaces in it
Before the batch files could not run if the path to the directory had one or more spaces in it. EG: "C:/Desktop/Spigot Repo". Now works with the patch By: mrkirby153 <mr.austinwhyte@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
basedir=`pwd`
|
||||
function update {
|
||||
cd $basedir/$1
|
||||
cd "$basedir/$1"
|
||||
git fetch && git reset --hard origin/master
|
||||
cd ../
|
||||
git add $1
|
||||
|
||||
Reference in New Issue
Block a user