aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorMark Vainomaa <[email protected]>2016-11-20 23:58:20 +0200
committerMark Vainomaa <[email protected]>2016-11-20 23:58:20 +0200
commitb872639961f8f89d2ccce2210b1a8b7d62c14fd4 (patch)
tree0fc544cce6b256a176924f1681209c323c9b36c1 /scripts
parenta27cdba30998291d2cc1717fff5c5957c725c98b (diff)
downloadPaper-b872639961f8f89d2ccce2210b1a8b7d62c14fd4.tar.gz
Paper-b872639961f8f89d2ccce2210b1a8b7d62c14fd4.zip
Fix building when directory with spaces is used
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/remap.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/remap.sh b/scripts/remap.sh
index 5bccafb0ce..4e0d0f8a78 100755
--- a/scripts/remap.sh
+++ b/scripts/remap.sh
@@ -5,12 +5,12 @@ set -e
PS1="$"
basedir="$(cd "$1" && pwd -P)"
workdir="$basedir/work"
-minecraftversion=$(cat ${workdir}/BuildData/info.json | grep minecraftVersion | cut -d '"' -f 4)
-minecrafthash=$(cat ${workdir}/BuildData/info.json | grep minecraftHash | cut -d '"' -f 4)
-accesstransforms="$workdir/BuildData/mappings/"$(cat ${workdir}/BuildData/info.json | grep accessTransforms | cut -d '"' -f 4)
-classmappings="$workdir/BuildData/mappings/"$(cat ${workdir}/BuildData/info.json | grep classMappings | cut -d '"' -f 4)
-membermappings="$workdir/BuildData/mappings/"$(cat ${workdir}/BuildData/info.json | grep memberMappings | cut -d '"' -f 4)
-packagemappings="$workdir/BuildData/mappings/"$(cat ${workdir}/BuildData/info.json | grep packageMappings | cut -d '"' -f 4)
+minecraftversion=$(cat "${workdir}/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)
+minecrafthash=$(cat "${workdir}/BuildData/info.json" | grep minecraftHash | cut -d '"' -f 4)
+accesstransforms="$workdir/BuildData/mappings/"$(cat "${workdir}/BuildData/info.json" | grep accessTransforms | cut -d '"' -f 4)
+classmappings="$workdir/BuildData/mappings/"$(cat "${workdir}/BuildData/info.json" | grep classMappings | cut -d '"' -f 4)
+membermappings="$workdir/BuildData/mappings/"$(cat "${workdir}/BuildData/info.json" | grep memberMappings | cut -d '"' -f 4)
+packagemappings="$workdir/BuildData/mappings/"$(cat "${workdir}/BuildData/info.json" | grep packageMappings | cut -d '"' -f 4)
jarpath="$workdir/$minecraftversion/$minecraftversion"
echo "Downloading unmapped vanilla jar..."