diff --git a/build/sanitize-mac-build-log.sed b/build/sanitize-mac-build-log.sed old mode 100755 new mode 100644 index 3894e4ceef5aa2..274e2822fa0612 --- a/build/sanitize-mac-build-log.sed +++ b/build/sanitize-mac-build-log.sed @@ -1,4 +1,4 @@ -#!/bin/sed -f +#!/bin/echo Use sanitize-mac-build-log.sh or sed -f # Copyright (c) 2010 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/build/sanitize-mac-build-log.sh b/build/sanitize-mac-build-log.sh new file mode 100755 index 00000000000000..dc743fabb51f92 --- /dev/null +++ b/build/sanitize-mac-build-log.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# Copyright (c) 2010 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +sed -f `dirname "${0}"`/`basename "${0}" sh`sed + diff --git a/tools/emacs/trybot.el b/tools/emacs/trybot.el index 6bc966fff711cc..0352ed5568fc28 100644 --- a/tools/emacs/trybot.el +++ b/tools/emacs/trybot.el @@ -107,7 +107,7 @@ (when (eq type-hint 'mac) ; Pipe it through the output shortener. (concat " | " (get-chrome-root) - "build/sanitize-mac-build-log.sed"))))) + "build/sanitize-mac-build-log.sh"))))) ; Start up the subprocess. (let* ((coding-system-for-read 'utf-8-dos)