Skip to content

Commit 6d45099

Browse files
authored
Merge pull request #35 from bugsnag/codehex/slash-fix
Remove extraneous leading slashes in post-process script in package
2 parents 5b08bb8 + 40767c5 commit 6d45099

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Bugsnag.unitypackage

1.05 KB
Binary file not shown.

src/Assets/Standard Assets/Bugsnag/Editor/BugsnagPostProcess.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public static void OnPostProcessBuild(BuildTarget target, string path)
120120
"\t\t\t);\n" +
121121
"\t\t\trunOnlyForDeploymentPostprocessing = 0;\n" +
122122
"\t\t\tshellPath = \"/usr/bin/env ruby\";\n" +
123-
"\t\t\tshellScript = \"# bugsnag dsym upload script\\nfork do\\n Process.setsid\\n STDIN.reopen(\\\"/dev/null\\\")\\n STDOUT.reopen(\\\"/dev/null\\\", \\\"a\\\")\\n STDERR.reopen(\\\"/dev/null\\\", \\\"a\\\")\\n\\n require 'shellwords'\\n\\n Dir[\\\"\\#{ENV[\\\"DWARF_DSYM_FOLDER_PATH\\\"]}/*/Contents/Resources/DWARF/*\\\"].each do |dsym|\\n system(\\\"curl -F dsym=@\\#{Shellwords.escape(dsym)} -F projectRoot=\\#{Shellwords.escape(ENV[\\\"PROJECT_DIR\\\"])} https://upload.bugsnag.com/\\\")\\n end\\nend\";\n" +
123+
"\t\t\tshellScript = \"# bugsnag dsym upload script\\nfork do\\n Process.setsid\\n STDIN.reopen(\\\"/dev/null\\\")\\n STDOUT.reopen(\\\"/dev/null\\\", \\\"a\\\")\\n STDERR.reopen(\\\"/dev/null\\\", \\\"a\\\")\\n\\n require 'shellwords'\\n\\n Dir[\\\"#{ENV[\\\"DWARF_DSYM_FOLDER_PATH\\\"]}/*/Contents/Resources/DWARF/*\\\"].each do |dsym|\\n system(\\\"curl -F dsym=@#{Shellwords.escape(dsym)} -F projectRoot=#{Shellwords.escape(ENV[\\\"PROJECT_DIR\\\"])} https://upload.bugsnag.com/\\\")\\n end\\nend\";\n" +
124124
"\t\t};\n"
125125
);
126126
} else if (needsBugsnagScript && line.Contains ("buildPhases = (")) {

0 commit comments

Comments
 (0)