bake/install.sh

7 lines
153 B
Bash
Executable File

#!/bin/sh
cd $(dirname "$(readlink -f "$0")")
SUDO=${SUDO:-sudo}
chmod +x shake
./shake bake.c
$SUDO install -m 755 shake bake ${TARGET:-/usr/local/bin}