Fix install.sh compatibility with /bin/sh #1402

Merged
merged 1 commit into from Mar 8, 2014

8 participants

@sergeylukin

Hi,
If not having /bin/sh as a symlink to BASH or any other shell that supports command "source" then the last line of install.sh fails to execute.
Not that it fails installtion, just throws annoying error on "source: not found"
I replaced "source" with "." which is supported in all shells afaik.
Cheers

@MindTooth

I can confirm to this with a fresh install of Debian.

sh: 38: source: not found

@JackBracken

Same issue as #1315

@harrigan

The fix above works for me on a fresh install of Ubuntu 12.04.

@woto

Got same issue.

@shadow-fox

will someone please merge this one so that we wont get a error like this sh: 38: source: not found

@hayd

+1 to this. atm zsh cannot be installed on Ubuntu as the readme describes.

@robbyrussell robbyrussell merged commit 6a2e65f into robbyrussell:master Mar 8, 2014
@robbyrussell
Owner

Thanks for your patience folks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment