From 8147d9bef6083b628fbe3f9da1f63c381ded8f82 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Sun, 1 Sep 2024 12:54:05 +0200 Subject: [PATCH] Small bug fix in build process --- update.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index e80f44d..f6fc435 100755 --- a/update.sh +++ b/update.sh @@ -43,7 +43,9 @@ chmod +x $CPOLIS_DIR/tailwindcss $CPOLIS_DIR/tailwindcss -i $CPOLIS_DIR/web/static/css/input.css -o $CPOLIS_DIR/web/static/css/style.css echo '\nBuilding cpolis...' >&2 -go build -o $BIN_DIR/cpolis $CPOLIS_DIR/cmd/main.go +cd $CPOLIS_DIR +go build -o $BIN_DIR/cpolis cmd/main.go +cd echo '\nSetting up system files...' >&2 sudo chown root:root $BIN_DIR/cpolis