cd project root

This commit is contained in:
Emil 2023-09-27 05:49:50 +00:00
parent 8a0776df67
commit 0db0db4f6b
No known key found for this signature in database
GPG Key ID: 5432DB986FDBCF8A

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
cd $(dirname "$(readlink -f "$0")")
SUDO=${SUDO:-sudo} SUDO=${SUDO:-sudo}
cc baked.c -o baked -std=gnu99 -O2 -Wall -Wextra -Wpedantic -pipe $CFLAGS cc baked.c -o baked -std=gnu99 -O2 -Wall -Wextra -Wpedantic -pipe $CFLAGS
$SUDO install -m 755 baked /usr/local/bin $SUDO install -m 755 baked /usr/local/bin