-
Notifications
You must be signed in to change notification settings - Fork 221
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
The heroku
command executing on the Git Bash of Windows fails
#805
Comments
Hi @takamin , Thanks for posting it!!! I have exactly the same problem and have been searching for a solution for quiiiiiiiiiite a while, glad to see I'm not alone and there IS a solution! Meanwhile, would you provide some more details on how you change the shell script? I'm completely a novice to command line. |
Hi, thanks @jiehan1029 , Here is the script I fixed on my local. C:\Program Files\heroku\bin\heroku: #!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
"$basedir/../client/bin/heroku.cmd" "$@"
ret=$?
exit $ret But this might have been fixed on the latest release. |
@takamin Thanks!! I'll try it out. In fact when using cmder, everything turns out just fine. Only git bash is giving me the problem... I'll see if this fix can resolve it. |
i apparently got stuck at the same point ,how do i navigate through it |
I encountered this today with using a latest Heroku CLI downloaded at 22 Apr. 2018.
I am fixing this problem in my local environment by changing a shell script
C:\Program Files\heroku\bin\heroku
. The problem is that the backslash in the sed command was not escaped.This outputs following version.
The text was updated successfully, but these errors were encountered: