bake/install.sh

7 lines
153 B
Bash
Raw Normal View History

2023-09-27 01:28:54 -04:00
#!/bin/sh
2023-09-27 01:49:50 -04:00
cd $(dirname "$(readlink -f "$0")")
2023-09-27 01:46:28 -04:00
SUDO=${SUDO:-sudo}
chmod +x shake
./shake bake.c
$SUDO install -m 755 shake bake ${TARGET:-/usr/local/bin}