From 7aec9590c1e1fe395bcc8ea8186aff9025b6b050 Mon Sep 17 00:00:00 2001 From: wenzdey <56051809+wenzdey@users.noreply.github.com> Date: Wed, 2 Oct 2019 18:37:13 -0500 Subject: [PATCH 1/2] Moved shebang to first line shebang only works if first line of script --- .../slaves/android-performance/scripts/run-performance-post.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/buildbot/slaves/android-performance/scripts/run-performance-post.sh b/build/buildbot/slaves/android-performance/scripts/run-performance-post.sh index 4d45869c..460d3a7f 100755 --- a/build/buildbot/slaves/android-performance/scripts/run-performance-post.sh +++ b/build/buildbot/slaves/android-performance/scripts/run-performance-post.sh @@ -1,5 +1,6 @@ +#!/bin/bash # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -#!/bin/bash + (set -o igncr) 2>/dev/null && set -o igncr; # comment is needed From 503fbc4a099929664423daeade4428b3833bd2dc Mon Sep 17 00:00:00 2001 From: wenzdey <56051809+wenzdey@users.noreply.github.com> Date: Wed, 2 Oct 2019 18:37:16 -0500 Subject: [PATCH 2/2] Moved shebang to first line shebang only works if first line of script --- .../slaves/windows-performance/scripts/run-performance-post.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/buildbot/slaves/windows-performance/scripts/run-performance-post.sh b/build/buildbot/slaves/windows-performance/scripts/run-performance-post.sh index 933b64be..01249399 100755 --- a/build/buildbot/slaves/windows-performance/scripts/run-performance-post.sh +++ b/build/buildbot/slaves/windows-performance/scripts/run-performance-post.sh @@ -1,7 +1,8 @@ +#!/bin/bash # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -#!/bin/bash + (set -o igncr) 2>/dev/null && set -o igncr; # comment is needed ## Make sure McAfee is started