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/script.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/script.in')
-rw-r--r-- | scripts/script.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/script.in b/scripts/script.in index ef0e2bcffea..8952ac6d6ea 100644 --- a/scripts/script.in +++ b/scripts/script.in @@ -1,2 +1,6 @@ #!/bin/sh -exec @bindir@/@mono_interp@ @mono_instdir@/@framework_version@/@exe_name@.exe "$@" + +a=`which "$0"` +d=`dirname "$a"` + +exec $d/@mono_interp@ @mono_instdir@/@framework_version@/@exe_name@.exe "$@" |