From 9bbc42c78317be9a7a50ebe7ef12291e0dbca1bc Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 8 Dec 2004 19:20:54 +0000 Subject: [PATCH] Changed 'uname -o' to 'uname -s' for POSIX compatibility. --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index f8e97d15..3a5d4633 100644 --- a/SConstruct +++ b/SConstruct @@ -519,7 +519,7 @@ config_hpp.write('// Target OS and architecture\n') if os.name == 'posix': config_hpp.write('#define VMIME_TARGET_ARCH "' + commands.getoutput('uname -m') + '"\n') - config_hpp.write('#define VMIME_TARGET_OS "' + commands.getoutput('uname -o') + '"\n') + config_hpp.write('#define VMIME_TARGET_OS "' + commands.getoutput('uname -s') + '"\n') else: config_hpp.write('#define VMIME_TARGET_ARCH "" // Unknown\n') config_hpp.write('#define VMIME_TARGET_OS "' + sys.platform + '/' + os.name + '"\n')