mono/mono-1.2.3-use-monodir.patch
Paul F. Johnson 7b913323af Bump to 2.0 preview 1 Clean up of patch files Spec file alterations
Probably a pile of other stuff I've forgotten as well!
2008-08-14 13:06:25 +00:00

15 lines
762 B
Diff

--- mono-1.2.3/scripts/script.in 2006-08-25 20:35:14.000000000 +0100
+++ mono-1.2.3/scripts/script-new.in 2007-01-27 23:42:39.000000000 +0000
@@ -1,2 +1,2 @@
#!/bin/sh
-exec @bindir@/@mono_interp@ $MONO_OPTIONS @mono_instdir@/@framework_version@/@exe_name@.exe "$@"
+exec @bindir@/@mono_interp@ $MONO_OPTIONS `@bindir@/monodir`/@framework_version@/@exe_name@.exe "$@"
--- mono-1.2.3/scripts/script_umask.in 2006-08-25 20:35:14.000000000 +0100
+++ mono-1.2.3/scripts/script_umask-new.in 2007-01-27 23:45:58.000000000 +0000
@@ -1,3 +1,3 @@
#!/bin/sh
umask 077
-exec @bindir@/@mono_interp@ $MONO_OPTIONS @mono_instdir@/@framework_version@/@exe_name@.exe "$@"
+exec @bindir@/@mono_interp@ $MONO_OPTIONS `@bindir@/monodir`/@framework_version@/@exe_name@.exe "$@"