mono/mono-1.2.3-use-monodir.patch

15 lines
762 B
Diff
Raw Normal View History

2007-02-08 09:46:25 +00:00
--- 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 "$@"
2008-02-21 12:04:54 +00:00
--- 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 "$@"