[compiler-rt] r226267 - [sanitizer] Fix bashism in check_lint.sh.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Fri Jan 16 02:20:49 PST 2015
Author: eugenis
Date: Fri Jan 16 04:20:49 2015
New Revision: 226267
URL: http://llvm.org/viewvc/llvm-project?rev=226267&view=rev
Log:
[sanitizer] Fix bashism in check_lint.sh.
Modified:
compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh
Modified: compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh?rev=226267&r1=226266&r2=226267&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh (original)
+++ compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh Fri Jan 16 04:20:49 2015
@@ -35,7 +35,7 @@ SANITIZER_INCLUDES_LINT_FILTER=${COMMON_
MKTEMP_DIR=$(mktemp -qd /tmp/check_lint.XXXXXXXXXX)
MKTEMP="mktemp -q ${MKTEMP_DIR}/tmp.XXXXXXXXXX"
-function cleanup {
+cleanup() {
rm -rf $MKTEMP_DIR
}
trap cleanup EXIT
More information about the llvm-commits
mailing list