mirror of
https://github.com/burrowers/garble.git
synced 2026-04-22 15:47:04 +08:00
900696b816
sharedCache is allocated before goVersionOK runs, but CacheDir is only set once the version check passes. The trim defer in mainErr only checked sharedCache != nil, so on the too-new-version path openCache joined an empty CacheDir with "build" and created the directory in CWD. Fixes #995.