Browse Source

Update hush-cli used in packaging scripts

pull/140/head
Duke Leto 4 years ago
parent
commit
30600c34a2
  1. 12
      hush-cli
  2. 0
      win-build.sh

12
hush-cli

@ -2,10 +2,20 @@
# Copyright (c) 2019 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
NAME=HUSH3
CLI=${KOMODOCLI:-./komodo-cli}
$CLI -ac_name=$NAME "$@"
if [ -f $CLI ]; then
$CLI -ac_name=$NAME "$@"
else
# We prefix our binary when installed
# system wide on Debain system, to prevent clashes
CLI=hush-komodo-cli
$CLI -ac_name=$NAME "$@"
fi

0
win-build.sh

Loading…
Cancel
Save