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