Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (10 sloc) 292 Bytes
#!/bin/bash
BIN_PATH=".cli-unit/cli-unit"
if [ ! -f $BIN_PATH ]; then
mkdir -p $(dirname $BIN_PATH)
wget -qO- https://drone.io/github.com/benschw/cli-unit/files/cli-unit-`uname`-`uname -m`.gz | \
gunzip > $BIN_PATH
chmod +x $BIN_PATH
fi
ARGS=( "$@" )
./$BIN_PATH ${ARGS[@]}