From: Emil Date: Wed, 27 Sep 2023 05:49:50 +0000 (+0000) Subject: cd project root X-Git-Tag: v20240302~72 X-Git-Url: https://git.xolatile.top/?a=commitdiff_plain;h=0db0db4f6b87e85f992e18bc8843e4f8eb26d08f;p=emil-bake.git cd project root --- diff --git a/install.sh b/install.sh index 44aaf3c..e39debb 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,5 @@ #!/bin/sh +cd $(dirname "$(readlink -f "$0")") SUDO=${SUDO:-sudo} cc baked.c -o baked -std=gnu99 -O2 -Wall -Wextra -Wpedantic -pipe $CFLAGS $SUDO install -m 755 baked /usr/local/bin