Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2005-11-10 20:37:06 +0300
committerMiguel de Icaza <miguel@gnome.org>2005-11-10 20:37:06 +0300
commit81a08a653d1eca14735e31589b38492e4dc345c7 (patch)
tree177bc42e0939080ac81325e1a955968d15283afa /scripts/script.in
parent0278b90f43a6cca29192e8be3d495db5eadbbb22 (diff)
Revert the script magic to do relocations, it does not work when the commands are symlinked
svn path=/trunk/mono/; revision=52862
Diffstat (limited to 'scripts/script.in')
-rw-r--r--scripts/script.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/script.in b/scripts/script.in
index 8952ac6d6ea..ef0e2bcffea 100644
--- a/scripts/script.in
+++ b/scripts/script.in
@@ -1,6 +1,2 @@
#!/bin/sh
-
-a=`which "$0"`
-d=`dirname "$a"`
-
-exec $d/@mono_interp@ @mono_instdir@/@framework_version@/@exe_name@.exe "$@"
+exec @bindir@/@mono_interp@ @mono_instdir@/@framework_version@/@exe_name@.exe "$@"