diff options
Diffstat (limited to 'engine/SCons/Platform')
-rw-r--r-- | engine/SCons/Platform/__init__.py | 5 | ||||
-rw-r--r-- | engine/SCons/Platform/aix.py | 2 | ||||
-rw-r--r-- | engine/SCons/Platform/cygwin.py | 2 | ||||
-rw-r--r-- | engine/SCons/Platform/darwin.py | 2 | ||||
-rw-r--r-- | engine/SCons/Platform/hpux.py | 2 | ||||
-rw-r--r-- | engine/SCons/Platform/irix.py | 2 | ||||
-rw-r--r-- | engine/SCons/Platform/os2.py | 2 | ||||
-rw-r--r-- | engine/SCons/Platform/posix.py | 2 | ||||
-rw-r--r-- | engine/SCons/Platform/sunos.py | 2 | ||||
-rw-r--r-- | engine/SCons/Platform/win32.py | 2 |
10 files changed, 12 insertions, 11 deletions
diff --git a/engine/SCons/Platform/__init__.py b/engine/SCons/Platform/__init__.py index f8d8041..8ccfd73 100644 --- a/engine/SCons/Platform/__init__.py +++ b/engine/SCons/Platform/__init__.py @@ -42,7 +42,7 @@ their own platform definition. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/Platform/__init__.py 2014/07/05 09:42:21 garyo" +__revision__ = "src/engine/SCons/Platform/__init__.py 2014/08/24 12:12:31 garyo" import SCons.compat @@ -173,6 +173,7 @@ class TempFileMunge(object): length = 0 for c in cmd: length += len(c) + length += len(cmd) - 1 if length <= maxline: return self.cmd @@ -187,7 +188,7 @@ class TempFileMunge(object): (fd, tmp) = tempfile.mkstemp('.lnk', text=True) native_tmp = SCons.Util.get_native_path(os.path.normpath(tmp)) - if env['SHELL'] and env['SHELL'] == 'sh': + if env.get('SHELL',None) == 'sh': # The sh shell will try to escape the backslashes in the # path, so unescape them. native_tmp = native_tmp.replace('\\', r'\\\\') diff --git a/engine/SCons/Platform/aix.py b/engine/SCons/Platform/aix.py index 4d9ea92..e3e1e30 100644 --- a/engine/SCons/Platform/aix.py +++ b/engine/SCons/Platform/aix.py @@ -30,7 +30,7 @@ selection method. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/Platform/aix.py 2014/07/05 09:42:21 garyo" +__revision__ = "src/engine/SCons/Platform/aix.py 2014/08/24 12:12:31 garyo" import os import subprocess diff --git a/engine/SCons/Platform/cygwin.py b/engine/SCons/Platform/cygwin.py index 781f12d..b3a892a 100644 --- a/engine/SCons/Platform/cygwin.py +++ b/engine/SCons/Platform/cygwin.py @@ -30,7 +30,7 @@ selection method. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/Platform/cygwin.py 2014/07/05 09:42:21 garyo" +__revision__ = "src/engine/SCons/Platform/cygwin.py 2014/08/24 12:12:31 garyo" import posix from SCons.Platform import TempFileMunge diff --git a/engine/SCons/Platform/darwin.py b/engine/SCons/Platform/darwin.py index bf61000..c0b576e 100644 --- a/engine/SCons/Platform/darwin.py +++ b/engine/SCons/Platform/darwin.py @@ -30,7 +30,7 @@ selection method. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/Platform/darwin.py 2014/07/05 09:42:21 garyo" +__revision__ = "src/engine/SCons/Platform/darwin.py 2014/08/24 12:12:31 garyo" import posix import os diff --git a/engine/SCons/Platform/hpux.py b/engine/SCons/Platform/hpux.py index 9e5fe6a..fa019bc 100644 --- a/engine/SCons/Platform/hpux.py +++ b/engine/SCons/Platform/hpux.py @@ -30,7 +30,7 @@ selection method. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/Platform/hpux.py 2014/07/05 09:42:21 garyo" +__revision__ = "src/engine/SCons/Platform/hpux.py 2014/08/24 12:12:31 garyo" import posix diff --git a/engine/SCons/Platform/irix.py b/engine/SCons/Platform/irix.py index 4287f97..21a527f 100644 --- a/engine/SCons/Platform/irix.py +++ b/engine/SCons/Platform/irix.py @@ -30,7 +30,7 @@ selection method. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/Platform/irix.py 2014/07/05 09:42:21 garyo" +__revision__ = "src/engine/SCons/Platform/irix.py 2014/08/24 12:12:31 garyo" import posix diff --git a/engine/SCons/Platform/os2.py b/engine/SCons/Platform/os2.py index 93b7b95..943d1fe 100644 --- a/engine/SCons/Platform/os2.py +++ b/engine/SCons/Platform/os2.py @@ -30,7 +30,7 @@ selection method. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/Platform/os2.py 2014/07/05 09:42:21 garyo" +__revision__ = "src/engine/SCons/Platform/os2.py 2014/08/24 12:12:31 garyo" import win32 def generate(env): diff --git a/engine/SCons/Platform/posix.py b/engine/SCons/Platform/posix.py index eb4f6c9..161d0c1 100644 --- a/engine/SCons/Platform/posix.py +++ b/engine/SCons/Platform/posix.py @@ -30,7 +30,7 @@ selection method. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/Platform/posix.py 2014/07/05 09:42:21 garyo" +__revision__ = "src/engine/SCons/Platform/posix.py 2014/08/24 12:12:31 garyo" import errno import os diff --git a/engine/SCons/Platform/sunos.py b/engine/SCons/Platform/sunos.py index a9d3001..fd5acf2 100644 --- a/engine/SCons/Platform/sunos.py +++ b/engine/SCons/Platform/sunos.py @@ -30,7 +30,7 @@ selection method. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/Platform/sunos.py 2014/07/05 09:42:21 garyo" +__revision__ = "src/engine/SCons/Platform/sunos.py 2014/08/24 12:12:31 garyo" import posix diff --git a/engine/SCons/Platform/win32.py b/engine/SCons/Platform/win32.py index 6511f12..80d1658 100644 --- a/engine/SCons/Platform/win32.py +++ b/engine/SCons/Platform/win32.py @@ -30,7 +30,7 @@ selection method. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/Platform/win32.py 2014/07/05 09:42:21 garyo" +__revision__ = "src/engine/SCons/Platform/win32.py 2014/08/24 12:12:31 garyo" import os import os.path |