lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [1/2] git commit: Fix configure.bat
Date Mon, 10 Mar 2014 17:34:41 GMT
Repository: lucy-clownfish
Updated Branches:
  refs/heads/master 37d8cfcd3 -> c0cd0f60a


Fix configure.bat

- Fix path
- Unset CL when probing for cl.exe


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/5b8c5254
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/5b8c5254
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/5b8c5254

Branch: refs/heads/master
Commit: 5b8c5254d3db21c80bbe4c29c3539bfff0fb0d2f
Parents: 37d8cfc
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Mon Mar 10 18:10:10 2014 +0100
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Mon Mar 10 18:12:46 2014 +0100

----------------------------------------------------------------------
 compiler/c/configure.bat | 3 +++
 runtime/c/configure.bat  | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/5b8c5254/compiler/c/configure.bat
----------------------------------------------------------------------
diff --git a/compiler/c/configure.bat b/compiler/c/configure.bat
index cd1fc60..f877d71 100644
--- a/compiler/c/configure.bat
+++ b/compiler/c/configure.bat
@@ -17,7 +17,10 @@ rem limitations under the License.
 
 echo Configuring Clownfish compiler...
 
+setlocal
+set CL=
 cl >nul 2>nul
+endlocal
 if not errorlevel 1 goto found_cl
 
 gcc -v >nul 2>nul

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/5b8c5254/runtime/c/configure.bat
----------------------------------------------------------------------
diff --git a/runtime/c/configure.bat b/runtime/c/configure.bat
index 07a3d1a..40b5cb0 100644
--- a/runtime/c/configure.bat
+++ b/runtime/c/configure.bat
@@ -17,12 +17,15 @@ rem limitations under the License.
 
 cd ..\..\compiler\c
 call configure.bat
-cd ..\..\..\c
+cd ..\..\runtime\c
 echo.
 
 echo Configuring Clownfish runtime...
 
+setlocal
+set CL=
 cl >nul 2>nul
+endlocal
 if not errorlevel 1 goto found_cl
 
 gcc -v >nul 2>nul


Mime
View raw message