# HG changeset patch # User Matti Hamalainen # Date 1589960667 -10800 # Node ID 0accb32904e7b818153cf826316988291967d4b9 # Parent a6bd442851607948e004da79c7faebafd9c4e7f1 Cleanups. diff -r a6bd44285160 -r 0accb32904e7 hg2cl --- a/hg2cl Wed May 20 10:44:23 2020 +0300 +++ b/hg2cl Wed May 20 10:44:27 2020 +0300 @@ -119,9 +119,8 @@ fi # find the directory that this script resides in -dir=`dirname "$0"` -dir=`cd "$dir" && pwd` -XSL="$dir/svn2cl.xsl" +dir="$(dirname "$(realpath "$0")")" +XSL="${dir}/svn2cl.xsl" # redirect stdout to the changelog file if needed if test "x$CHANGELOG" != "x-"; then