Mercurial > hg > buildtools
changeset 19:0accb32904e7
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 20 May 2020 10:44:27 +0300 |
parents | a6bd44285160 |
children | 627a2524520d |
files | hg2cl |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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