summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-06-20 19:55:12 (GMT)
committerSteven Knight <knight@baldmt.com>2002-06-20 19:55:12 (GMT)
commit46e71f972856559541ba5807d07e8c3ca7cb25ab (patch)
tree75791c29ef0a893e932d504e0783a48ce0f0242b /SConstruct
parent31e59488fb62ffbd3df9c469ee0b3c090fca2f30 (diff)
downloadSCons-46e71f972856559541ba5807d07e8c3ca7cb25ab.zip
SCons-46e71f972856559541ba5807d07e8c3ca7cb25ab.tar.gz
SCons-46e71f972856559541ba5807d07e8c3ca7cb25ab.tar.bz2
Fix the SCons packaging build on Win32.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index af650d2..4cc591a 100644
--- a/SConstruct
+++ b/SConstruct
@@ -30,6 +30,7 @@
import distutils.util
import os
import os.path
+import socket
import stat
import string
import sys
@@ -91,7 +92,7 @@ elif os.environ.has_key('USER'):
if ARGUMENTS.has_key('build_system'):
build_system = ARGUMENTS['build_system']
else:
- build_system = string.split(os.uname()[1], '.')[0]
+ build_system = string.split(socket.gethostname(), '.')[0]
if ARGUMENTS.has_key('version'):
revision = ARGUMENTS['version']