Change the way the output directory is set during packaging

From OpenRA PR 20678.
This commit is contained in:
penev92 2023-02-20 09:30:33 +02:00 committed by Paul Chote
parent 5d469bd0d8
commit 52f3da501f

View File

@ -47,7 +47,7 @@ install_mod_assemblies() {
done
fi
else
find . -maxdepth 1 -name '*.sln' -exec dotnet publish -c Release -p:TargetPlatform="${TARGETPLATFORM}" -r "${TARGETPLATFORM}" -o "${DEST_PATH}" --self-contained true \;
find . -maxdepth 1 -name '*.sln' -exec dotnet publish -c Release -p:TargetPlatform="${TARGETPLATFORM}" -r "${TARGETPLATFORM}" -p:PublishDir="${DEST_PATH}" --self-contained true \;
cd "${ORIG_PWD}" || exit 1
fi
}