removed redundant readlink call
authorgagern
Wed, 20 Apr 2005 19:00:30 +0200
changeset 15784 3a214de33d53
parent 15783 82e40c9a0f3f
child 15785 ae6943098223
removed redundant readlink call
bin/isabelle
bin/isabelle-interface
bin/isabelle-process
--- a/bin/isabelle	Wed Apr 20 18:57:05 2005 +0200
+++ b/bin/isabelle	Wed Apr 20 19:00:30 2005 +0200
@@ -9,7 +9,7 @@
 while [ -L "$THIS" ]; do
     THIS="$(dirname "$THIS")/$(LC_ALL=C ls -l "$THIS" | sed 's/.* -> //')"
 done
-THIS="$(cd "$(dirname "$(readlink -f "$THIS")")"; pwd)"
+THIS="$(cd "$(dirname "$THIS")"; pwd)"
 NAME="$(basename "$0")"
 
 case "$NAME" in
--- a/bin/isabelle-interface	Wed Apr 20 18:57:05 2005 +0200
+++ b/bin/isabelle-interface	Wed Apr 20 19:00:30 2005 +0200
@@ -14,7 +14,7 @@
 while [ -L "$THIS" ]; do
     THIS="$(dirname "$THIS")/$(LC_ALL=C ls -l "$THIS" | sed 's/.* -> //')"
 done
-ISABELLE_HOME="$(cd "$(dirname "$(readlink -f "$THIS")")/.."; pwd)"
+ISABELLE_HOME="$(cd "$(dirname "$THIS")/.."; pwd)"
 . "$ISABELLE_HOME/lib/scripts/getsettings" || \
   { echo "$PRG probably not called from its original place!"; exit 2; }
 
--- a/bin/isabelle-process	Wed Apr 20 18:57:05 2005 +0200
+++ b/bin/isabelle-process	Wed Apr 20 19:00:30 2005 +0200
@@ -17,7 +17,7 @@
 while [ -L "$THIS" ]; do
     THIS="$(dirname "$THIS")/$(LC_ALL=C ls -l "$THIS" | sed 's/.* -> //')"
 done
-ISABELLE_HOME="$(cd "$(dirname "$(readlink -f "$THIS")")/.."; pwd)"
+ISABELLE_HOME="$(cd "$(dirname "$THIS")/.."; pwd)"
 . "$ISABELLE_HOME/lib/scripts/getsettings" || \
   { echo "$PRG probably not called from its original place!"; exit 2; }