bake/install.sh

7 lines
163 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")")
2024-01-24 09:00:46 -05:00
SUDO=${SUDO-sudo}
chmod +x shake
2024-01-21 09:51:54 -05:00
./shake bake.c -s $@ && \
$SUDO install -m 755 shake bake ${TARGET:-/usr/local/bin}