Skip to content

Fixing install.sh so that the BASIC_ONLY option does not always skip the haskell installation. #247

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

Closed
wants to merge 1 commit into from

Conversation

tdfirth
Copy link
Contributor

@tdfirth tdfirth commented May 15, 2017

Problem was that the 'boolean' values used before were actually just an empty variable and a 'y' character. When the BASIC_ONLY parameter was passed into main, if --basic was not used then the variable was empty and so wasn't recognised as a parameter at all.

This meant that the 3rd parameter (the hoogle db one), got passed in as the second and as it was set to 'y' by default the haskell binary installation was skipped.

I just replaced these pseudo booleans with actual booleans and it is a little bit simpler now as a result.

@tdfirth tdfirth closed this May 15, 2017
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.

1 participant