mirror of
https://github.com/godotengine/build-containers.git
synced 2026-01-05 22:10:22 +03:00
build: Fix error getting base dir after #119
This commit is contained in:
6
build.sh
6
build.sh
@@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
source $(dirname "$0")/setup.sh
|
||||
basedir=$(cd $(dirname "$0"); pwd)
|
||||
|
||||
source $basedir/setup.sh
|
||||
|
||||
if [ -z "$1" -o -z "$2" ]; then
|
||||
echo "Usage: $0 <godot branch> <base distro>"
|
||||
@@ -20,7 +22,7 @@ fi
|
||||
godot_branch=$1
|
||||
base_distro=$2
|
||||
img_version=$godot_branch-$base_distro
|
||||
files_root="$(cd dirname "$0"; pwd)/files"
|
||||
files_root="$basedir/files"
|
||||
build_msvc=0
|
||||
|
||||
if [ ! -z "$PS1" ]; then
|
||||
|
||||
Reference in New Issue
Block a user