Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved windows host support (git bash & cygwin) #184

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Support go pkg tools
  • Loading branch information
pjeby committed Apr 23, 2021
commit 9321bd06211f51fd5b1ea49a12099b59fac09e41
2 changes: 1 addition & 1 deletion gimme
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ EOF
_env() {
if [[ -d "${1}/bin" && -f "${1}/bin/go.exe" && "$GIMME_HOSTOS" == windows ]] && command -v cygpath &>/dev/null; then
# .exe's don't come in from the .zip with the executable flag set
chmod +x "${1}/bin/"*.exe
chmod +x "${1}/bin/"*.exe "$1/pkg/tool/*/*.exe"
# $1 is a cygwin/msys path, but GOROOT needs a Windows path
local -x GOROOT
GOROOT="$(cygpath -wa "$1")"
Expand Down