#!/bin/bash # Copyright (c) 2016-2021 The Hush developers # set working directory to the location of this script # readlink -f does not always exist DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR DIR="$( cd "$( dirname "$( readlink "${BASH_SOURCE[0]}" )" )" && pwd )" cd $DIR DEFAULTS="" # People should just use hushd going forward HUSH="./hushd" $HUSH $DEFAULTS "$@"