From d3004bfbf72c0bdd9b95d01434e6afa349df4cd1 Mon Sep 17 00:00:00 2001 From: Luke Ingram Date: Tue, 25 Apr 2023 13:35:06 -0400 Subject: [PATCH] [godot] Updates scripts to handle spaces in file paths (#2244). --- spine-godot/build/build-templates-v4.sh | 2 +- spine-godot/build/build-templates.sh | 2 +- spine-godot/build/build-v4.sh | 2 +- spine-godot/build/build.sh | 2 +- spine-godot/build/setup.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spine-godot/build/build-templates-v4.sh b/spine-godot/build/build-templates-v4.sh index bb71f3c7c9..8db8a8fed1 100755 --- a/spine-godot/build/build-templates-v4.sh +++ b/spine-godot/build/build-templates-v4.sh @@ -2,7 +2,7 @@ set -e dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" -pushd $dir > /dev/null +pushd "$dir" > /dev/null if [ ! "$#" -eq 1 ]; then echo "Usage: ./build-templates.sh " diff --git a/spine-godot/build/build-templates.sh b/spine-godot/build/build-templates.sh index 57bc7cface..c21add0aec 100755 --- a/spine-godot/build/build-templates.sh +++ b/spine-godot/build/build-templates.sh @@ -2,7 +2,7 @@ set -e dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" -pushd $dir > /dev/null +pushd "$dir" > /dev/null if [ ! "$#" -eq 1 ]; then echo "Usage: ./build-templates.sh " diff --git a/spine-godot/build/build-v4.sh b/spine-godot/build/build-v4.sh index 6ea29a4544..ef967d5c4f 100755 --- a/spine-godot/build/build-v4.sh +++ b/spine-godot/build/build-v4.sh @@ -2,7 +2,7 @@ set -e dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" -pushd $dir > /dev/null +pushd "$dir" > /dev/null if [ ! -d ../godot ]; then echo "No Godot clone found. Run ./setup.sh first." diff --git a/spine-godot/build/build.sh b/spine-godot/build/build.sh index 2abaed21a8..2550bc6cab 100755 --- a/spine-godot/build/build.sh +++ b/spine-godot/build/build.sh @@ -2,7 +2,7 @@ set -e dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" -pushd $dir > /dev/null +pushd "$dir" > /dev/null if [ ! "$#" -eq 1 ]; then echo "Usage: ./build.sh " diff --git a/spine-godot/build/setup.sh b/spine-godot/build/setup.sh index 6085f78c8c..a48f1a8a44 100755 --- a/spine-godot/build/setup.sh +++ b/spine-godot/build/setup.sh @@ -2,7 +2,7 @@ set -e dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" -pushd $dir > /dev/null +pushd "$dir" > /dev/null if [ ! "$#" -eq 2 ]; then echo "Usage: ./setup.sh "