[Lldb-commits] [lldb] r229682 - Fix make_symlink in case when symlink already exists (after r229517)
Ilia K
ki.stfu at gmail.com
Wed Feb 18 07:30:18 PST 2015
Author: ki.stfu
Date: Wed Feb 18 09:30:18 2015
New Revision: 229682
URL: http://llvm.org/viewvc/llvm-project?rev=229682&view=rev
Log:
Fix make_symlink in case when symlink already exists (after r229517)
Modified:
lldb/trunk/scripts/Python/finishSwigPythonLLDB.py
Modified: lldb/trunk/scripts/Python/finishSwigPythonLLDB.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/finishSwigPythonLLDB.py?rev=229682&r1=229681&r2=229682&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/finishSwigPythonLLDB.py (original)
+++ lldb/trunk/scripts/Python/finishSwigPythonLLDB.py Wed Feb 18 09:30:18 2015
@@ -316,6 +316,7 @@ def make_symlink( vDictArgs, vstrFramewo
if os.path.isfile( strTarget ):
if bDbg:
print strMsgSymlinkExists % vstrTargetFile;
+ return (bOk, strErrMsg);
if bDbg:
print strMsgSymlinkMk % (vstrTargetFile, strSrc, strTarget);
bOk, strErrMsg = make_symlink_windows( strSrc,
@@ -324,6 +325,7 @@ def make_symlink( vDictArgs, vstrFramewo
if os.path.islink( strTarget ):
if bDbg:
print strMsgSymlinkExists % vstrTargetFile;
+ return (bOk, strErrMsg);
if bDbg:
print strMsgSymlinkMk % (vstrTargetFile, strSrc, strTarget);
bOk, strErrMsg = make_symlink_other_platforms( strSrc,
More information about the lldb-commits
mailing list