16 lines
406 B
Bash
Executable File
16 lines
406 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright 2016-2024 The Hush Developers
|
|
# Copyright 2022 The DragonX Developers
|
|
# Released under the GPLv3
|
|
|
|
# Resolve binary directory
|
|
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
if [ -f "$SCRIPTDIR/hush-cli" ] || [ -f "$SCRIPTDIR/hushd" ]; then
|
|
BINDIR="$SCRIPTDIR"
|
|
else
|
|
BINDIR="$SCRIPTDIR/../../src"
|
|
fi
|
|
cd "$BINDIR"
|
|
|
|
./hush-cli -ac_name=TESTDRAGONX $@
|