diff --git a/scripts/build-linux.sh b/scripts/build-linux.sh index 2046d74..757a061 100755 --- a/scripts/build-linux.sh +++ b/scripts/build-linux.sh @@ -68,6 +68,6 @@ else echo "Help: check the Go error messages above." echo " - Undefined symbol/identifier: usually a missing variable or typo in source; see the referenced file:line." echo " - \"C compiler not found\": install a C toolchain (e.g., build-essential on Ubuntu, Xcode CLT on macOS)." - echo " - Cache permission denied: run 'rm -rf ~/.cache/go-build' or 'chown -R $USER ~/.cache/go-build'." + echo " - Cache permission denied: run scripts/clear-go-cache.sh or 'rm -rf ~/.cache/go-build' / 'chown -R $USER ~/.cache/go-build'." exit 1 fi diff --git a/scripts/build.sh b/scripts/build.sh index 7fa0e2f..b87ea7b 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -101,7 +101,7 @@ case "$OS" in echo "Help: check the Go error messages above." echo " - Undefined symbol/identifier: usually a missing variable or typo in source; see the referenced file:line." echo " - \"C compiler not found\": install MinGW-w64 or MSYS2 toolchain so gcc is in PATH." - echo " - Cache permission denied: delete or chown the Go build cache (e.g., %LOCALAPPDATA%\\go-build on Windows)." + echo " - Cache permission denied: run scripts/clear-go-cache.sh or delete/chown the Go build cache (e.g., %LOCALAPPDATA%\\go-build on Windows)." exit 1 fi ;;