Skip to content

Commit 7e315c9

Browse files
committed
Fix some typos and ensure output directory exists
1 parent a358b61 commit 7e315c9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/dotnet-core-uninstall/dotnet-core-uninstall.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,13 @@
4747
<Output TaskParameter="TargetOutputs" ItemName="_RidSpecificSingleFile" />
4848
</MSBuild>
4949
<PropertyGroup>
50-
<_LipoOuputPath>$(PublishDir)\osx-universal\$(AssemblyName)</_LipoOuputPath>
50+
<_LipoOutputDir>$(PublishDir)\osx-universal\</_LipoOutputDir>
51+
<_LipoOutputPath>$(_LipoOutputDir)$(AssemblyName)</_LipoOutputPath>
5152
</PropertyGroup>
5253

53-
<Exec Command="lipo @(_RidSpecificSingleFile, ' ') -create -output $(_LipoOuputPath)" Condition="$([MSBuild]::IsOSPlatform('OSX'))" />
54+
<MakeDir Directories="$(_LipoOutputDir)" />
55+
56+
<Exec Command="lipo @(_RidSpecificSingleFile, ' ') -create -output $(_LipoOutputPath)" Condition="$([MSBuild]::IsOSPlatform('OSX'))" />
5457
</Target>
5558

5659
</Project>

0 commit comments

Comments
 (0)