[zorg] r282840 - Replace git -C with cd, -C is not supported by the bot version of git.

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 29 22:26:01 PDT 2016


Author: vitalybuka
Date: Fri Sep 30 00:26:00 2016
New Revision: 282840

URL: http://llvm.org/viewvc/llvm-project?rev=282840&view=rev
Log:
Replace git -C with cd, -C is not supported by the bot version of git.

Modified:
    zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh

Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh?rev=282840&r1=282839&r2=282840&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh Fri Sep 30 00:26:00 2016
@@ -239,7 +239,8 @@ build_symbolizer() {
 
 if [ "$CHECK_SYMBOLIZER" == "1" ]; then
   echo @@@BUILD_STEP update zlib@@@
-  git -C $ZLIB pull --rebase || git clone https://github.com/madler/zlib.git $ZLIB || echo @@@STEP_WARNINGS@@@
+  (cd $ZLIB && git pull --rebase) || \
+      git clone https://github.com/madler/zlib.git $ZLIB || echo @@@STEP_WARNINGS@@@
 
   build_symbolizer 32 compiler_rt_build
   build_symbolizer 64 compiler_rt_build




More information about the llvm-commits mailing list