Skip to content

Commit

Permalink
Make the createLogPath script executable (#2911)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotibou authored Jun 21, 2022
1 parent 50bcab0 commit a7266ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tracer/build/_build/Build.Steps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ void ExtractDebugInfoAndStripSymbols()
var fpm = Fpm.Value;
var gzip = GZip.Value;
var chmod = Chmod.Value;
var packageName = "datadog-dotnet-apm";
var workingDirectory = ArtifactsDirectory / $"linux-{LinuxArchitectureIdentifier}";
Expand All @@ -638,6 +639,10 @@ void ExtractDebugInfoAndStripSymbols()
RenameFile(sourceFile, newName);
}
// somehow the permissions are lost along the way, ensure they are correctly set here
var createLogPathScript = (IsArm64 ? TracerHomeDirectory : MonitoringHomeDirectory) / "createLogPath.sh";
chmod.Invoke("+x " + createLogPathScript);
ExtractDebugInfoAndStripSymbols();
foreach (var packageType in LinuxPackageTypes)
Expand Down

0 comments on commit a7266ab

Please sign in to comment.