Skip to content

Commit

Permalink
Updating exec for OSX by putting the whole command in a single line. …
Browse files Browse the repository at this point in the history
…There was a change in MSBuild where we changed the way the exec command is treated.
  • Loading branch information
livarcocc committed Oct 5, 2018
1 parent 68b7810 commit 48ed870
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions build/package/Installer.PKG.targets
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,7 @@
Glob="$(SdkPkgScriptFile)"
Mode="ugo+x" />

<Exec Command="pkgbuild
--root '$(SdkLayoutOutputDirectory)'
--identifier '$(SdkComponentId)'
--version '$(SdkVersion)'
--install-location '$(PkgInstallDirectory)'
--scripts '$(SdkPkgDestinationScriptsDirectory)'
'$(SdkInstallerFile)'" />
<Exec Command="pkgbuild --root '$(SdkLayoutOutputDirectory)' --identifier '$(SdkComponentId)' --version '$(SdkVersion)' --install-location '$(PkgInstallDirectory)' --scripts '$(SdkPkgDestinationScriptsDirectory)' '$(SdkInstallerFile)'" />
</Target>

<Target Name="GenerateSdkProductArchive"
Expand Down Expand Up @@ -153,13 +147,7 @@
ReplacementPatterns="@(DistributionTemplateReplacement -> '%(Identity)')"
ReplacementStrings="@(DistributionTemplateReplacement -> '%(ReplacementString)')" />

<Exec Command="productbuild
--version '$(SdkVersion)'
--identifier '$(SdkProductArchiveId)'
--package-path '$(PkgIntermediateDirectory)'
--resources '$(SdkProductArchiveResourcesDirectory)'
--distribution '$(SdkProductArchiveDistributionFile)'
'$(CombinedFrameworkSdkHostInstallerFile)'" />
<Exec Command="productbuild --version '$(SdkVersion)' --identifier '$(SdkProductArchiveId)' --package-path '$(PkgIntermediateDirectory)' --resources '$(SdkProductArchiveResourcesDirectory)' --distribution '$(SdkProductArchiveDistributionFile)' '$(CombinedFrameworkSdkHostInstallerFile)'" />
</Target>

<Target Name="GeneratePkgs"
Expand Down

0 comments on commit 48ed870

Please sign in to comment.