Index: scripts/build-tsan-for-chromium.sh |
=================================================================== |
--- scripts/build-tsan-for-chromium.sh (revision 56521) |
+++ scripts/build-tsan-for-chromium.sh (working copy) |
@@ -38,17 +38,17 @@ |
VALGRIND_ROOT="$VG_TSAN_DIR" $SPECIAL_TARGET |
OUT_BIN="$ORIG_BINARIES_DIR/$PLATFORM/bin" |
- mkdir -p $OUT_BIN |
+ mkdir -p "$OUT_BIN" |
# See below for the definition of ORIG_BINARIES_DIR |
- $THISDIR/tsan/tsan/mk-self-contained-valgrind.sh \ |
+ "$THISDIR/tsan/tsan/mk-self-contained-valgrind.sh" \ |
"$VG_TSAN_DIR/out/$PLATFORM" "tsan" \ |
"$OUT_BIN/valgrind-tsan.sh" |
} |
TSAN_REV=2386 |
TSAN_DIR="$THISDIR/tsan" # Directory to checkout TSan sources |
-rm -rf $TSAN_DIR |
-svn co -r "$TSAN_REV" http://data-race-test.googlecode.com/svn/trunk $TSAN_DIR |
+rm -rf "$TSAN_DIR" |
+svn co -r "$TSAN_REV" http://data-race-test.googlecode.com/svn/trunk "$TSAN_DIR" |
VG_TSAN_DIR="$THISDIR/valgrind" # Directory to checkout Valgrind sources |
sh tsan/third_party/update_valgrind.sh # Fetch sources from valgrind-variant |
@@ -81,6 +81,6 @@ |
# Ugly hack! |
# We build Valrgind binaries in the $VG_TSAN_DIR/out and then pack |
# them into self-contained .sh file into $ORIG_BINARIES_DIR/$PLATFORM |
-ORIG_BINARIES_DIR=$BINARIES_DIR |
+ORIG_BINARIES_DIR="$BINARIES_DIR" |
BINARIES_DIR="$VG_TSAN_DIR/out" |
build_valgrind_for_available_platforms |