summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";
}
}