Skip to content

Commit

Permalink
Merge pull request #76 from bernerdschaefer/bs-use-bash-from-environment
Browse files Browse the repository at this point in the history
Use bash from current environment
  • Loading branch information
ddollar committed Feb 23, 2016
2 parents 4eaf541 + c6e54ee commit 5d88fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func ShellInvocationCommand(interactive bool, root, command string) []string {
}
profile := filepath.Join(root, ".profile")
shellCommand := fmt.Sprintf("source \"%s\" 2>/dev/null; %s", profile, command)
return []string{"/bin/bash", shellArgument, shellCommand}
return []string{"bash", shellArgument, shellCommand}

}

Expand Down

0 comments on commit 5d88fd7

Please sign in to comment.