diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-19 02:41:34 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-19 02:41:34 +0000 |
commit | 17f0f36b113469962f8e10a1c4d4f2df9c71f594 (patch) | |
tree | eee463d71dfe99bcad0a74c2fc551428a2de9124 | |
parent | be7aac1c8e3af43516b7cca966bffd9790a1ae6a (diff) |
Fixes to uname stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1440 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -35,7 +35,10 @@ chomp($config{GCC34} = `gcc -dumpversion | cut -c 3`); # Minor GCC Ve chomp($config{OSNAME} = `/bin/uname -s`); # Operating System Name if (!$config{OSNAME}) { - $config{OSNAME} = "Unknown"; # For use when uname fails. + chomp($config{OSNAME} = `uname -s`); + if (!$config{OSNAME}) { + $config{OSNAME} = "Unknown"; + } } if (!$config{MAX_CLIENT_T}) { |