mono/mono-1.2.3-use-monodir.patch
Paul F. Johnson cebb202c45 1.9 preview 2
2008-02-21 12:04:54 +00:00

27 lines
1.4 KiB
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 "$@"
--- mono-1.9/scripts/mono-service.in 2008-02-06 21:43:22.000000000 +0000
+++ mono-1.9/scripts/mono-service-new.in 2008-02-06 21:47:55.000000000 +0000
@@ -35,7 +35,7 @@
export MONO_DISABLE_SHM=1
if $debug; then
- exec @bindir@/@mono_interp@ $MONO_OPTIONS @mono_instdir@/@framework_version@/mono-service.exe $args
+ exec @bindir@/@mono_interp@ $MONO_OPTIONS `@bindir@/monodir`/@framework_version@/mono-service.exe $args
else
- exec @bindir@/@mono_interp@ $MONO_OPTIONS @mono_instdir@/@framework_version@/mono-service.exe $args </dev/null > /dev/null 2>&1 &
+ exec @bindir@/@mono_interp@ $MONO_OPTIONS `@bindir@/monodir`/@framework_version@/@exe_name@.exe $args </dev/null > /dev/null 2>&1 &
fi