summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qbuild/src/Builder.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/qbuild/src/Builder.php b/qbuild/src/Builder.php
index 5568d725..4b441094 100644
--- a/qbuild/src/Builder.php
+++ b/qbuild/src/Builder.php
@@ -137,14 +137,14 @@ final class Builder
{
$os = strtolower(PHP_OS);
- if (strpos($os, 'win') !== false) {
- return 'windows';
- }
-
if (strpos($os, 'darwin') !== false) {
return 'darwin';
}
+ if (strpos($os, 'win') !== false) {
+ return 'windows';
+ }
+
return "linux";
}
@@ -234,4 +234,4 @@ final class Builder
return false;
}
}
-} \ No newline at end of file
+}