diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-19 02:50:57 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-19 02:50:57 +0000 |
commit | 6a6ad6a77ac8d8d12574f87523268b18d4c5fed8 (patch) | |
tree | f9e8c19b5d54d8a570ae925d19bd801b417f60cf | |
parent | bc18ad78572f87ab3d58e144abff3e5ad41968bc (diff) |
Stupid string checks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1446 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,11 +36,11 @@ chomp($config{OSNAME} = `/bin/uname`); # Operating print "OSN: '" . $config{OSNAME} . "'\n"; -if (!$config{OSNAME}) { +if ((!$config{OSNAME}) || ($config{OSNAME} eq "")) { print "Running 2nd uname\n"; chomp($config{OSNAME} = `/usr/bin/uname`); print "OSN: '" . $config{OSNAME} . "'\n"; - if (!$config{OSNAME}) { + if ((!$config{OSNAME}) || ($config{OSNAME} eq "")){ $config{OSNAME} = "Unknown"; } } |