mono/mono-1.1.17.1-use-monodir.patch
2006-09-01 15:19:04 +00:00

22 lines
1.2 KiB
Diff

--- mono-1.1.17.1/scripts/script.in.use-monodir 2006-08-25 21:35:14.000000000 +0200
+++ mono-1.1.17.1/scripts/script.in 2006-09-01 14:57:01.000000000 +0200
@@ -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.1.17.1/scripts/mono-service.in.use-monodir 2006-08-25 21:35:14.000000000 +0200
+++ mono-1.1.17.1/scripts/mono-service.in 2006-09-01 14:57:20.000000000 +0200
@@ -29,4 +29,4 @@
fi
export MONO_DISABLE_SHM=1
-exec @bindir@/@mono_interp@ $MONO_OPTIONS @mono_instdir@/@framework_version@/@exe_name@.exe $args </dev/null >& /dev/null &
+exec @bindir@/@mono_interp@ $MONO_OPTIONS `@bindir@/monodir`/@framework_version@/@exe_name@.exe $args </dev/null >& /dev/null &
--- mono-1.1.17.1/scripts/script_umask.in.use-monodir 2006-08-25 21:35:14.000000000 +0200
+++ mono-1.1.17.1/scripts/script_umask.in 2006-09-01 14:57:27.000000000 +0200
@@ -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 "$@"