Branch: Tag:

2000-08-09

2000-08-09 01:30:25 by Per Hedbor <ph@opera.com>

Do not be too glad to cd around the place. This probably fixes the 'No index Void in RXML bug' when having symlinks somewhere in the path.

Rev: server/start:1.119

1:   #!/bin/sh   # - # $Id: start,v 1.118 2000/08/02 15:21:32 marcus Exp $ + # $Id: start,v 1.119 2000/08/09 01:30:25 per Exp $      pre="`echo \" $$ \" | sed -e 's/\(.........\)\(.*\)/\1/g'` :"    - cd `dirname $0` + # Breaks on linux when using symlinks. + dn="`dirname $0`" + case "$dn" in +  ""|".") +  ;; +  *) +  echo "Changing current directory to '$dn' (now `pwd`)" +  cd $dn +  echo "Got `pwd`)" +  ;; + esac      # Can be set with '--config-dir=DIR'   DIR=../configurations/