Fix hushd to work when called via symlink

This commit is contained in:
Luke Childs
2019-04-15 19:12:01 +07:00
committed by Jonathan "Duke" Leto
parent ce2843810b
commit e0d64f45c7

View File

@@ -2,7 +2,7 @@
# Copyright (c) 2019 Hush developers
# set working directory to the location of this script
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIR="$( cd "$( dirname "$( readlink -f "${BASH_SOURCE[0]}" )" )" && pwd )"
cd $DIR
NAME=HUSH3