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

post-install script failed, if PROXY_HOST set #1

Closed
makon2 opened this issue Jun 20, 2018 · 1 comment
Closed

post-install script failed, if PROXY_HOST set #1

makon2 opened this issue Jun 20, 2018 · 1 comment

Comments

@makon2
Copy link

makon2 commented Jun 20, 2018

if PROXY_HOST set, the generated post-install.sh failed with error:
\cygwin\post-install.sh: line 5: syntax error near unexpected token `then'
The failure is the ";" in line 5 with echo: the ";" terminate the command and then the "then" is unexpected.
Is "then" allone in the next line, then it works:
echo if [[ $HOSTNAME == "%COMPUTERNAME%" ]]
echo then
You can try in a interactiv shell: echo message; then it display the same error.
With kind regards

0zhu added a commit that referenced this issue Jun 25, 2018
@0zhu
Copy link
Owner

0zhu commented Jun 25, 2018

Thanks!
This fix is also available in beta tree for now.

@0zhu 0zhu closed this as completed Jun 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants