Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ build_project() {
local url=$2
local variant=$3

local projectfile=`find $BUILD_FOLDER/$name -name game.project`
local projectdir="$(dirname $projectfile)"
pushd $projectdir
local projectfile=$(find "$BUILD_FOLDER/$name" -name game.project | awk -F/ '{print NF, $0}' | sort -n | head -1 | cut -d' ' -f2-)
local projectdir="$(dirname "$projectfile")"
pushd "$projectdir"

BUILD_VARIANT_COUNT=$((BUILD_VARIANT_COUNT+1))
resolve
Expand Down