mirror of
https://github.com/zerotier/zeronsd.git
synced 2026-05-22 16:25:37 -07:00
a40ff22159
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
13 lines
274 B
Bash
13 lines
274 B
Bash
#!/bin/sh
|
|
|
|
export PATH="${HOME}/.cargo/bin:${PATH}"
|
|
|
|
if [ "${IS_LOCAL}" != 0 ]
|
|
then
|
|
cargo install --path .
|
|
else
|
|
cargo install --git https://github.com/zerotier/zeronsd \
|
|
$(if [ "${IS_TAG}" != "0" ]; then echo "--tag"; else echo "--branch"; fi) \
|
|
"${VERSION}"
|
|
fi
|