Skip to content

Commit 52f3da5

Browse files
penev92pchote
authored andcommitted
Change the way the output directory is set during packaging
From OpenRA PR 20678.
1 parent 5d469bd commit 52f3da5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ install_mod_assemblies() {
4747
done
4848
fi
4949
else
50-
find . -maxdepth 1 -name '*.sln' -exec dotnet publish -c Release -p:TargetPlatform="${TARGETPLATFORM}" -r "${TARGETPLATFORM}" -o "${DEST_PATH}" --self-contained true \;
50+
find . -maxdepth 1 -name '*.sln' -exec dotnet publish -c Release -p:TargetPlatform="${TARGETPLATFORM}" -r "${TARGETPLATFORM}" -p:PublishDir="${DEST_PATH}" --self-contained true \;
5151
cd "${ORIG_PWD}" || exit 1
5252
fi
5353
}

0 commit comments

Comments
 (0)