Skip to content

Commit

Permalink
Add extra safety check
Browse files Browse the repository at this point in the history
  • Loading branch information
wjk committed Nov 17, 2018
1 parent 2edcc5f commit 962bc91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/MSBuild.DevLocal.targets
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Target Name="_EnsureTempPackageSource" BeforeTargets="Restore;_LocalPublish">
<PropertyGroup>
<!-- TEMP is not defined by default on macOS. TMPDIR, however, is. -->
<TEMP Condition="'$(TEMP)' == ''">$(TMPDIR)</TEMP>
<TEMP Condition="'$(TEMP)' == '' and '$(TMPDIR)' != ''">$(TMPDIR)</TEMP>
<TempPackagePath Condition="'$(TempPackagePath)' == ''">$(TEMP)\Packages</TempPackagePath>
</PropertyGroup>
<MakeDir Directories="$(TempPackagePath)" Condition="!Exists('$(TempPackagePath)')" />
Expand Down

0 comments on commit 962bc91

Please sign in to comment.