cortoproject / corto

A hierarchical object store for connecting realtime machine data with web applications, historians & more
https://www.corto.io
MIT License
87 stars 14 forks source link

Fix build error on Travis #601

Closed jleeothon closed 7 years ago

jleeothon commented 7 years ago

CI on Travis has been broken when trying to build the project with a message like:

$ rake
rake aborted!
LoadError: cannot load such file -- /home/travis/.corto/lib/corto/1.0/build/forward

The cause is that the detection of the current shell (whether bash, zsh, etc.) is faulty. When called from Bash, the script might not detect that the current shell is indeed Bash.

Example build before fix: https://travis-ci.org/cortoproject/corto/jobs/236822442

Example build after fix: https://travis-ci.org/cortoproject/corto/jobs/236569188