From 036d78b16db708550836982ab13a2e05f7b23d6c Mon Sep 17 00:00:00 2001 From: Curtis Rueden Date: Sun, 29 Sep 2024 22:10:47 -0500 Subject: [PATCH] CI: fix mega-melt absolute directory logic --- tests/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/run.sh b/tests/run.sh index bf7873e..351e239 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -26,7 +26,8 @@ test -f "$pom" || die 'Where is pom.xml?!' generateMegaMeltScript="$dir/generate-mega-melt.py" filterBuildLogScript="$dir/filter-build-log.py" -megaMeltDir=$(cd "$dir/../target/mega-melt" && pwd) +megaMeltDir="$dir/../target/mega-melt" +megaMeltDir=$(mkdir -p "$megaMeltDir" && cd "$megaMeltDir" && pwd) pomParent="$megaMeltDir/../pom.xml" versionSwapLog="$megaMeltDir/version-swap.log" dependencyTreeLog="$megaMeltDir/dependency-tree.log"