diff options
| author | Don Williams <don.e.williams@gmail.com> | 2026-01-30 08:23:58 -0500 |
|---|---|---|
| committer | Don Williams <don.e.williams@gmail.com> | 2026-01-30 08:23:58 -0500 |
| commit | 7ccb8ceb875b9af27c517a85a69e5cdeebdf0fbe (patch) | |
| tree | 5b9fd86fef49f4ed5778c09470df65b2597a954b /scripts/lib_apps.sh | |
| parent | 949fd81f3f6fe89b297261b9d3c839423d172ba5 (diff) | |
Added --tty flag to force basic menu
Fixed the remaining hardcoded entries in copy.sh and helper scripts
On branch development
Your branch is up to date with 'origin/development'.
Changes to be committed:
modified: copy.sh
modified: scripts/lib_apps.sh
Diffstat (limited to 'scripts/lib_apps.sh')
| -rw-r--r-- | scripts/lib_apps.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/lib_apps.sh b/scripts/lib_apps.sh index 900ca801..f71ef05a 100644 --- a/scripts/lib_apps.sh +++ b/scripts/lib_apps.sh @@ -226,11 +226,13 @@ install_waybar_weather_nixos() { return 1 fi - cd "${tmp}/src" || { _err "cd failed"; return 1; } - _log "Fetching modules" - go mod download >/dev/null 2>&1 || _warn "go mod download returned non-zero; continuing" - _log "Building ${APP_NAME}" - if ! CGO_ENABLED=0 go build -trimpath -ldflags "-s -w" -o "${APP_NAME}" ./cmd/${APP_NAME}; then + if ! ( + cd "${tmp}/src" || { _err "cd failed"; exit 1; } + _log "Fetching modules" + go mod download >/dev/null 2>&1 || _warn "go mod download returned non-zero; continuing" + _log "Building ${APP_NAME}" + CGO_ENABLED=0 go build -trimpath -ldflags "-s -w" -o "${APP_NAME}" ./cmd/${APP_NAME} + ); then _err "go build failed" return 1 fi |
