Browse Source

Make hush-cli an actual file instead of asking user to symlink

pull/51/head
Jonathan "Duke" Leto 5 years ago
parent
commit
cc270e5f6c
  1. 1
      README.md
  2. 11
      hush-cli

1
README.md

@ -89,7 +89,6 @@ these four files in your Git repo:
```
ln -s ../hush3/src/hushd
ln -s ../hush3/src/hush-cli
ln -s ../hush3/src/komodod
ln -s ../hush3/src/komodo-cli
```

11
hush-cli

@ -0,0 +1,11 @@
#!/bin/bash
# Copyright (c) 2019 Hush developers
# set working directory to the location of this script
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
NAME=HUSH3
CLI=${KOMODOCLI:-./komodo-cli}
$CLI -ac_name=$NAME "$@"
Loading…
Cancel
Save