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 GitHub
parent 0395eb4c9e
commit 9e7c323d6d

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