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

Add -L flag to follow redirect to get correct file #167

Merged
merged 2 commits into from
Nov 19, 2018

Conversation

mvolz
Copy link
Contributor

@mvolz mvolz commented Nov 5, 2018

This current command doesn't currently work because it downloads the html of the redirect page instead of the bash file. As per comments on #154, add -L flag to get the correct file.

As per the comments in git-tips#154, use -L to follow the redirect for curl. The tip as written does not currently work as it downloads the html for the redirect page instead.
As per git-tips#154, change to -L so that the redirect gets followed. As written this line downloads the html redirect page.
@hemanth hemanth merged commit fa759b5 into git-tips:master Nov 19, 2018
blanjatest2 pushed a commit to blanjatest2/tips that referenced this pull request Apr 15, 2020
Add -L flag to follow redirect to get correct file
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

Successfully merging this pull request may close these issues.

2 participants