0
0
Fork 0
haikuports/dev-lang/rust/patches/rust-installer-1.17.0.patchset

28 lines
639 B
Plaintext

From fa075bf6c5642960985621370954817e34be8f83 Mon Sep 17 00:00:00 2001
From: Niels Sascha Reedijk <niels.reedijk@gmail.com>
Date: Mon, 9 Mar 2015 22:27:02 +0100
Subject: [PATCH] Haiku: detect OS
---
install-template.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/install-template.sh b/install-template.sh
index dcc1ee0..90afec2 100644
--- a/install-template.sh
+++ b/install-template.sh
@@ -364,6 +364,10 @@ get_host_triple() {
_ostype=pc-windows-gnu
;;
+ Haiku*)
+ _ostype=unknown-haiku
+ ;;
+
*)
err "unknown value from uname -s: $_uname_value"
;;
--
2.7.0