summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-19 02:50:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-19 02:50:57 +0000
commit6a6ad6a77ac8d8d12574f87523268b18d4c5fed8 (patch)
treef9e8c19b5d54d8a570ae925d19bd801b417f60cf /configure
parentbc18ad78572f87ab3d58e144abff3e5ad41968bc (diff)
Stupid string checks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1446 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index e9782f5bc..358510bce 100755
--- a/configure
+++ b/configure
@@ -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";
}
}