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

Fix #28 problem with case / esac statement. #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

glenpike
Copy link
Owner

@glenpike glenpike commented May 8, 2017

Ubuntu 16.10 doesn't like the spaces.

Glen Pike added 2 commits May 8, 2017 20:29
Ubuntu 16.10 doesn't like the spaces.
case/esac is a PITA - use longwinded if/elif/else ladder.

Another possible fix for #28 - portability of statements.
As we're testing for empty strings, can use "$var"

If users specifies an install dir, assume that's equal to
.npm-packages.  We were assuming it was parent, but that's wrong.
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