Skip to content

Commit

Permalink
Add extra safety check
Browse files Browse the repository at this point in the history
  • Loading branch information
wjk authored and Oren Novotny committed Nov 27, 2018
1 parent 1e37f53 commit 957e7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/MSBuild.DevLocal.targets
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 957e7f6

Please sign in to comment.