diff options
author | Wade Berrier <wade@mono-cvs.ximian.com> | 2005-10-29 05:43:49 +0400 |
---|---|---|
committer | Wade Berrier <wade@mono-cvs.ximian.com> | 2005-10-29 05:43:49 +0400 |
commit | fd922aabc2d91034533599122535e3de85712b6c (patch) | |
tree | 485b0640b1133357c775714ed6d434db68e58bba /scripts/mono-service.in | |
parent | d4c9db7c6cd195096062420f7dc7fba7a766d4d4 (diff) |
* mono.pc.in, mint.pc.in, configure.in: Make these relocatable.
* scripts: Makefile.am mono-nunit.pc.in script.in mono-service.in
Make all the wrappers relocatable.
svn path=/trunk/mono/; revision=52364
Diffstat (limited to 'scripts/mono-service.in')
-rw-r--r-- | scripts/mono-service.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/mono-service.in b/scripts/mono-service.in index 25b789902c4..950c2f66cb4 100644 --- a/scripts/mono-service.in +++ b/scripts/mono-service.in @@ -1,4 +1,7 @@ #!/bin/sh +a=`which "$0"` +d=`dirname "$a"` + args="$@" assembly= while test x$1 != x; do @@ -29,4 +32,4 @@ if test x$assembly = x; then fi export MONO_DISABLE_SHM=1 -exec @bindir@/@mono_interp@ @mono_instdir@/@framework_version@/@exe_name@.exe $args </dev/null >& /dev/null & +exec $d/@mono_interp@ @mono_instdir@/@framework_version@/@exe_name@.exe $args </dev/null >& /dev/null & |