[Lldb-commits] [PATCH] [swig] Fix some typos in the build scripts.

Bruce Mitchener bruce.mitchener at gmail.com
Thu Feb 26 15:56:05 PST 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7912

Files:
  lldb/trunk/scripts/Python/buildSwigPython.py
  lldb/trunk/scripts/Python/finishSwigPythonLLDB.py

Index: lldb/trunk/scripts/Python/finishSwigPythonLLDB.py
===================================================================
--- lldb/trunk/scripts/Python/finishSwigPythonLLDB.py
+++ lldb/trunk/scripts/Python/finishSwigPythonLLDB.py
@@ -298,7 +298,7 @@
 		return (bOk, strErrMsg);
 	else:
 		# Resolve vstrSrcFile path relatively the build directory
-		stdBuildDir = "";
+		strBuildDir = "";
 		if eOSType == utilsOsType.EnumOsType.Windows:
 			# On a Windows platform the vstrFrameworkPythonDir looks like:
 			# llvm\\build\\Lib\\site-packages\\lldb
Index: lldb/trunk/scripts/Python/buildSwigPython.py
===================================================================
--- lldb/trunk/scripts/Python/buildSwigPython.py
+++ lldb/trunk/scripts/Python/buildSwigPython.py
@@ -436,7 +436,7 @@
 """
 def remove_ignore_enoent(filename):
 	try:
-		os.remove( strSwigOutputFile );
+		os.remove( filename );
 	except OSError as e:
 		import errno
 		if e.errno != errno.ENOENT:
@@ -702,7 +702,7 @@
 		remove_ignore_enoent( strSwigOutputFile )
 		open( strSwigOutputFile, 'w' ).close(); # Touch the file
 		if bDebug:
-			strMsg = strMsgLldbDisablePython;
+			strMsg = strMsgLldbDisablePythonEnv;
 		return (0, strMsg );
 		
 	# If this project is being built with LLDB_DISABLE_PYTHON defined,

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7912.20801.patch
Type: text/x-patch
Size: 1285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150226/c8fa1491/attachment.bin>


More information about the lldb-commits mailing list