Fix incorrect path of the runincontext script in Helix
authorJan Vorlicek <janvorli@microsoft.com>
Mon, 20 Apr 2020 13:52:38 +0000 (15:52 +0200)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 20 Apr 2020 13:52:38 +0000 (15:52 +0200)
The source path of the runincontext.cmd/sh script in
helixpublishwitharcade.proj is incorrectly referring to the parent
directory instead of the current one as the base for the scripts folder.

src/coreclr/tests/helixpublishwitharcade.proj

index dcf4193..dcb4d4d 100644 (file)
     </ItemGroup>
 
     <Copy SourceFiles="@(_XUnitConsoleRunnerFiles)" DestinationFolder="$(CoreRootDirectory)" />
-    <Copy SourceFiles="$(MSBuildThisFileDirectory)\..\scripts\runincontext.cmd" DestinationFolder="$(CoreRootDirectory)" Condition=" '$(TargetsWindows)' == 'true' and '$(_RunInUnloadableContext)' == 'true'" />
-    <Copy SourceFiles="$(MSBuildThisFileDirectory)/../scripts/runincontext.sh" DestinationFolder="$(CoreRootDirectory)" Condition=" '$(TargetsWindows)' != 'true' and '$(_RunInUnloadableContext)' == 'true'" />
+    <Copy SourceFiles="$(MSBuildThisFileDirectory)scripts\runincontext.cmd" DestinationFolder="$(CoreRootDirectory)" Condition=" '$(TargetsWindows)' == 'true' and '$(_RunInUnloadableContext)' == 'true'" />
+    <Copy SourceFiles="$(MSBuildThisFileDirectory)scripts/runincontext.sh" DestinationFolder="$(CoreRootDirectory)" Condition=" '$(TargetsWindows)' != 'true' and '$(_RunInUnloadableContext)' == 'true'" />
   </Target>
 
   <Target Name="CreateTestEnvFiles">