[PATCH] A fix for sanitizers' bash scripts to work on FreeBSD
Viktor Kutuzov
vkutuzov at accesssoftek.com
Tue Feb 25 01:34:42 PST 2014
Hi kcc, samsonov,
http://llvm-reviews.chandlerc.com/D2875
Files:
lib/dfsan/scripts/check_custom_wrappers.sh
lib/sanitizer_common/scripts/check_lint.sh
Index: lib/dfsan/scripts/check_custom_wrappers.sh
===================================================================
--- lib/dfsan/scripts/check_custom_wrappers.sh
+++ lib/dfsan/scripts/check_custom_wrappers.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
DFSAN_DIR=$(dirname "$0")/../
DFSAN_CUSTOM_TESTS=${DFSAN_DIR}/../../test/dfsan/custom.c
Index: lib/sanitizer_common/scripts/check_lint.sh
===================================================================
--- lib/sanitizer_common/scripts/check_lint.sh
+++ lib/sanitizer_common/scripts/check_lint.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2875.1.patch
Type: text/x-patch
Size: 665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140225/5e3c09cd/attachment.bin>
More information about the llvm-commits
mailing list