Mercurial > hg > graal-compiler
diff mxtool/mx @ 17093:e82d22396109
Backed out changeset: 841a9f98b97c
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 10 Sep 2014 11:36:45 +0200 |
parents | 841a9f98b97c |
children | 194041c3fdab |
line wrap: on
line diff
--- a/mxtool/mx Wed Sep 10 11:04:13 2014 +0200 +++ b/mxtool/mx Wed Sep 10 11:36:45 2014 +0200 @@ -28,7 +28,7 @@ dir=`/bin/pwd` # Resolve location of this script so that mx.py can be found in the same directory -source="$(basename $0)" +source="${BASH_SOURCE[0]}" while [ -h "$source" ] ; do source="$(readlink "$source")"; done dir="$( cd -P "$( dirname "$source" )" && pwd )"