fix: simplify build process in localagi-install.sh by removing subshell
This commit is contained in:
@@ -57,13 +57,11 @@ chmod 600 /opt/localagi/.env
|
|||||||
msg_ok "Configured LocalAGI"
|
msg_ok "Configured LocalAGI"
|
||||||
|
|
||||||
msg_info "Building LocalAGI from source"
|
msg_info "Building LocalAGI from source"
|
||||||
(
|
cd /opt/localagi/webui/react-ui &&
|
||||||
cd /opt/localagi/webui/react-ui &&
|
|
||||||
bun install &&
|
bun install &&
|
||||||
bun run build &&
|
bun run build &&
|
||||||
cd /opt/localagi &&
|
cd /opt/localagi &&
|
||||||
go build -o /usr/local/bin/localagi
|
go build -o /usr/local/bin/localagi
|
||||||
) || exit 1
|
|
||||||
msg_ok "Built LocalAGI from source"
|
msg_ok "Built LocalAGI from source"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|||||||
Reference in New Issue
Block a user