[Mono-dev] Mono 2.2 Unix environment portability patch

KISHIMOTO, Makoto ksmakoto at dd.iij4u.or.jp
Tue Nov 25 05:11:05 EST 2008


Hello

I've tested Mono 2.2 Preview 1.

Shebang line of some scripts refer /bin/bash, for portability,
/bin/sh is more better.

diff -ru mono-2.2.ORIG/mcs/class/Managed.Windows.Forms/build-csproj mono-2.2/mcs/class/Managed.Windows.Forms/build-csproj
--- mono-2.2.ORIG/mcs/class/Managed.Windows.Forms/build-csproj	2008-09-11 01:22:50.000000000 +0900
+++ mono-2.2/mcs/class/Managed.Windows.Forms/build-csproj	2008-11-25 16:58:03.000000000 +0900
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # I got tired of editing the SWF.csproj
 # This script will generate it from our System.Windows.Forms.dll.sources
diff -ru mono-2.2.ORIG/mcs/class/Managed.Windows.Forms/build-csproj2k5 mono-2.2/mcs/class/Managed.Windows.Forms/build-csproj2k5
--- mono-2.2.ORIG/mcs/class/Managed.Windows.Forms/build-csproj2k5	2008-09-11 01:22:50.000000000 +0900
+++ mono-2.2/mcs/class/Managed.Windows.Forms/build-csproj2k5	2008-11-25 17:00:01.000000000 +0900
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # This script will generate SWF.cs.target from our System.Windows.Forms.dll.sources
 #
diff -ru mono-2.2.ORIG/mcs/class/Mono.WebBrowser/build-csproj2k5 mono-2.2/mcs/class/Mono.WebBrowser/build-csproj2k5
--- mono-2.2.ORIG/mcs/class/Mono.WebBrowser/build-csproj2k5	2008-09-11 01:23:40.000000000 +0900
+++ mono-2.2/mcs/class/Mono.WebBrowser/build-csproj2k5	2008-11-25 16:48:11.000000000 +0900
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # This script will generate SWF.cs.target from our System.Windows.Forms.dll.sources
 #


More information about the Mono-devel-list mailing list