File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 26
26
godot_branch=$1
27
27
base_distro=$2
28
28
img_version=$godot_branch -$base_distro
29
- files_root=$( pwd) /files
29
+ files_root=" $( cd dirname " $0 " ; pwd) /files"
30
30
build_msvc=0
31
31
32
32
# Confirm settings
@@ -57,8 +57,8 @@ $podman_build -t godot-android:${img_version} -f Dockerfile.android . 2>&1 | tee
57
57
XCODE_SDK=14.1
58
58
OSX_SDK=13.0
59
59
IOS_SDK=16.1
60
- if [ ! -e files /MacOSX${OSX_SDK} .sdk.tar.xz ] || [ ! -e files /iPhoneOS${IOS_SDK} .sdk.tar.xz ] || [ ! -e files /iPhoneSimulator${IOS_SDK} .sdk.tar.xz ]; then
61
- if [ ! -e files /Xcode_${XCODE_SDK} .xip ]; then
60
+ if [ ! -e ${files_root} /MacOSX${OSX_SDK} .sdk.tar.xz ] || [ ! -e ${files_root} /iPhoneOS${IOS_SDK} .sdk.tar.xz ] || [ ! -e ${files_root} /iPhoneSimulator${IOS_SDK} .sdk.tar.xz ]; then
61
+ if [ ! -e ${files_root} /Xcode_${XCODE_SDK} .xip ]; then
62
62
echo " files/Xcode_${XCODE_SDK} .xip is required. It can be downloaded from https://developer.apple.com/download/more/ with a valid apple ID."
63
63
exit 1
64
64
fi
@@ -72,7 +72,7 @@ $podman_build -t godot-osx:${img_version} -f Dockerfile.osx . 2>&1 | tee logs/os
72
72
$podman_build -t godot-ios:${img_version} -f Dockerfile.ios . 2>&1 | tee logs/ios.log
73
73
74
74
if [ " ${build_msvc} " != " 0" ]; then
75
- if [ ! -e files /msvc2017.tar ]; then
75
+ if [ ! -e ${files_root} /msvc2017.tar ]; then
76
76
echo
77
77
echo " files/msvc2017.tar is missing. This file can be created on a Windows 7 or 10 machine by downloading the 'Visual Studio Tools' installer."
78
78
echo " here: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2017"
You can’t perform that action at this time.
0 commit comments