Hi

This is the first bucket of of diffs that are meant to remove the
hardcoded bash depencendy. On !GNU systems bash is either not installed
or it's path is not /bin. Most of the scripts in mono will just work
with a posix shell so use that instead because that's available everywhere.

Index: scripts/mono-find-provides.in
===================================================================
--- scripts/mono-find-provides.in       (revision 154650)
+++ scripts/mono-find-provides.in       (working copy)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # mono-find-provides
 #
Index: scripts/mono-find-requires.in
===================================================================
--- scripts/mono-find-requires.in       (revision 154650)
+++ scripts/mono-find-requires.in       (working copy)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # mono-find-requires
 #
Index: scripts/mono-test-install
===================================================================
--- scripts/mono-test-install   (revision 154650)
+++ scripts/mono-test-install   (working copy)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # Does various checks for people that we can use to diagnose
 # an end user installation
@@ -175,4 +175,4 @@
 else
     echo Failed to compile sample test program, your installation is broken
     exit 1
-fi
\ No newline at end of file
+fi
Index: web/mono-build.sh
===================================================================
--- web/mono-build.sh   (revision 154650)
+++ web/mono-build.sh   (working copy)
@@ -1,4 +1,4 @@
-#! /usr/bin/env bash
+#!/bin/sh
 
 # Script to automate the building of mono and its dependencies.
 # Relies on wget being installed (could make it fall back to using
_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to