summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--[-rwxr-xr-x]build/sanitize-mac-build-log.sed2
-rwxr-xr-xbuild/sanitize-mac-build-log.sh6
-rw-r--r--tools/emacs/trybot.el2
3 files changed, 8 insertions, 2 deletions
diff --git a/build/sanitize-mac-build-log.sed b/build/sanitize-mac-build-log.sed
index 3894e4c..274e282 100755..100644
--- 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 0000000..dc743fa
--- /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 6bc966f..0352ed5 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)