[Mono-bugs] [Bug 27740][Min] New - mono-build.sh could be more friendly to non-GNU systems
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
13 Jul 2002 04:12:23 -0000
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by jmallett@freebsd.org.
http://bugzilla.ximian.com/show_bug.cgi?id=27740
--- shadow/27740 Sat Jul 13 00:12:23 2002
+++ shadow/27740.tmp.25402 Sat Jul 13 00:12:23 2002
@@ -0,0 +1,35 @@
+Bug#: 27740
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity: 000 No more required
+Priority: Minor
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: jmallett@FreeBSD.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mono-build.sh could be more friendly to non-GNU systems
+
+The mono-build.sh script tries to use BASH from a location where it
+may not exist, and also could use something other than wget(1) by
+default on non-GNU systems to do fetching of files over HTTP.
+
+Here's the header from the patch at http://people.freebsd.org/
+~jmallett/mono-build.sh.patch :
+
+Use env(1) to find bash(1), as outside of OSF/1 and GNU, it may
+appear in the path, however it does not appear in /bin. This script is
+unfortunately bash(1) specific, or it'd make sense to use /bin/sh. A
+space has been added between the shebang and the invocation of
+env(1), as that is "more portable".
+
+Use a variable, HTTP_GET instead of wget(1), since it is noted in
+comments that this is not necessarily correct. On FreeBSD use
+fetch(1) which is a part of the base system and works well for the
+functionality needed here.