From c2fd1e99b0d8862e36fc011c67f078cfe3a6ccd1 Mon Sep 17 00:00:00 2001
From: Dan Guido <dan@trailofbits.com>
Date: Fri, 30 Jan 2015 18:40:30 -0500
Subject: [PATCH] fix auto deploys

---
 .travis.yml      | 4 ++--
 docs/BUILDING.md | 4 ++--
 docs/TOOLS.md    | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index b8d11ee37..80e3e532a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,7 +47,7 @@ deploy:
     repo: trailofbits/mcsema
     tags: true
     all_branches: true
-    condition: "$CC = gcc"
+    condition: "$CXX = g++"
     
 - provider: s3
   access_key_id:
@@ -60,7 +60,7 @@ deploy:
   local-dir: package
   on:
     all_branches: true
-    condition: "$CC = gcc"
+    condition: "$CXX = g++"
     
 notifications:
   slack:
diff --git a/docs/BUILDING.md b/docs/BUILDING.md
index 28140e9c9..0c1e6bd2f 100644
--- a/docs/BUILDING.md
+++ b/docs/BUILDING.md
@@ -81,7 +81,7 @@ To verify functionality, try running the demos (in `mc-sema/tests`). For example
 
 # Building on Windows
 
-Due to integration with LLVM 3.5, mcsema now requires C++11. Please build with Visual Studio 2012 or later.
+mcsema now requires C++11 due to integration with LLVM 3.5. Please build with Visual Studio 2012 or later.
 
 ## Prerequisites
 General Packages:
@@ -100,7 +100,7 @@ Build Environment:
 
 If using Visual Studio Express 2013 the Desktop Edition is **ABSOLUTELY REQUIRED**. The build will fail without it.
 
-Do **not** install Intel PIN. It wont link correctly. Semantics tests will not be available, but everything else will work.
+Do **not** install Intel PIN. It won't link correctly. Semantics tests will not be available, but everything else will work.
 
 ## Get The Source
 
diff --git a/docs/TOOLS.md b/docs/TOOLS.md
index 6393da421..d704ea8ce 100644
--- a/docs/TOOLS.md
+++ b/docs/TOOLS.md
@@ -233,7 +233,7 @@ By default the `tests.out` file is in `<mc-sema code>\build\mc-sema\validator\va
 
 ### Examples
 
-This is the output of testSemantics as of July 2014. Not all instructuction tests complete successfully; the floating point tests are there for when the instructions are implemented in the translator.
+This is the output of testSemantics as of July 2014. Not all instruction tests complete successfully; the floating point tests are there for when the instructions are implemented in the translator.
 
     C:\git\llvm-lift\build\mc-sema\validator\valTest\Debug>..\..\testSemantics\Debug\testSemantics.exe