mono/mono-1.1.16.1-use-monodir.patch
Alexander Larsson 3fb1a0daea add patches
2006-08-18 13:49:24 +00:00

22 lines
1.1 KiB
Diff

--- mono-1.1.16.1/scripts/script_umask.in.monodir 2006-08-17 15:19:51.000000000 +0200
+++ mono-1.1.16.1/scripts/script_umask.in 2006-08-17 15:20:30.000000000 +0200
@@ -1,3 +1,3 @@
#!/bin/sh
umask 077
-exec @bindir@/@mono_interp@ @mono_instdir@/@framework_version@/@exe_name@.exe "$@"
+exec @bindir@/@mono_interp@ `@bindir@/monodir`/@framework_version@/@exe_name@.exe "$@"
--- mono-1.1.16.1/scripts/mono-service.in.monodir 2006-08-17 15:19:37.000000000 +0200
+++ mono-1.1.16.1/scripts/mono-service.in 2006-08-17 15:21:22.000000000 +0200
@@ -29,4 +29,4 @@
fi
export MONO_DISABLE_SHM=1
-exec @bindir@/@mono_interp@ @mono_instdir@/@framework_version@/@exe_name@.exe $args </dev/null >& /dev/null &
+exec @bindir@/@mono_interp@ `@bindir@/monodir`/@framework_version@/@exe_name@.exe $args </dev/null >& /dev/null &
--- mono-1.1.16.1/scripts/script.in.monodir 2006-08-17 15:19:45.000000000 +0200
+++ mono-1.1.16.1/scripts/script.in 2006-08-17 15:20:51.000000000 +0200
@@ -1,2 +1,2 @@
#!/bin/sh
-exec @bindir@/@mono_interp@ @mono_instdir@/@framework_version@/@exe_name@.exe "$@"
+exec @bindir@/@mono_interp@ `@bindir@/monodir`/@framework_version@/@exe_name@.exe "$@"