diff options
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r-- | lldb/scripts/Python/finishSwigPythonLLDB.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/scripts/Python/finishSwigPythonLLDB.py b/lldb/scripts/Python/finishSwigPythonLLDB.py index 10996d442c9..a145d88aea6 100644 --- a/lldb/scripts/Python/finishSwigPythonLLDB.py +++ b/lldb/scripts/Python/finishSwigPythonLLDB.py @@ -316,6 +316,7 @@ def make_symlink( vDictArgs, vstrFrameworkPythonDir, vstrSrcFile, vstrTargetFile 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, vstrFrameworkPythonDir, vstrSrcFile, vstrTargetFile 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, |