Comments (7)
These scripts require /bin/bash
, but your local environment appears to be forcing usage of /bin/sh
.
from zulip.
Emmm, I'm sorry but these scripts are located inside the Vagrant VM (which runs inside VirtualBox), so that issue is a problem of Vagrant, and not of mine machine.
from zulip.
Here my bash environment inside VM
(zulip-venv)vagrant@vagrant-ubuntu-trusty-64:~$ echo $BASH
/bin/bash
(zulip-venv)vagrant@vagrant-ubuntu-trusty-64:~$ echo $SHELL
/bin/bash
And in the Cygwin
@00:11:40 wwarlock@Pc-2 zulip git:(master)$ echo $BASH
/usr/bin/bash
@00:11:48 wwarlock@Pc-2 zulip git:(master)$ echo $SHELL
/bin/bash
What else I must to fix to force use of /bin/bash
inside VM ?
from zulip.
I believe your shell is fine and your problems are actually due to Windows line endings in your Git clone. What is the output of git config --list | grep crlf
?
Example to reproduce this effect:
$ cat foo.sh
#!/bin/sh -e
echo hi
$ ./foo.sh
hi
$ unix2dos foo.sh
unix2dos: converting file foo.sh to DOS format ...
$ ./foo.sh
/bin/sh: 0: Illegal option -
from zulip.
@00:24:36 wwarlock@Pc-2 zulip git:(master)$ git config --list | grep crlf
core.autocrlf=true
Ok, I try to switch off line endings conversion and clone the zulip repo once more
from zulip.
Please add that information to the README.
from zulip.
git clone https://github.com/zulip/zulip.git -c core.autocrlf=false
worked for me on Windows.
from zulip.
Related Issues (20)
- Improve how starred message count is hidden HOT 5
- Improve text about searching public channels HOT 3
- Add more flexible information-density settings HOT 1
- Improve search typeahead for `has:` operator HOT 1
- Improve how current context is handled with search HOT 1
- Update icons for direct messages HOT 3
- Dialog box buttons remain the same size when switching b/w 14px and 16px HOT 1
- Improve zerver/webhooks/slack_incoming: mimic Slack response body HOT 2
- Feature Request: Ability to hide stream from all messages view HOT 3
- Fix internationalization for search typeahead HOT 4
- Remove &ignore_pull_request option from TravisCI integration HOT 2
- Backticks get inserted on Ctrl-V in too many situations HOT 4
- Document the difference between EMAIL_USE_TLS and EMAIL_USE_SSL HOT 2
- Use pills for users' names in Custom emoji settings panel HOT 4
- Renaming topics fails with error: stream_id is not an integer HOT 4
- Make post_save cache-flushing callbacks interact nicely with transaction.on_commit HOT 1
- Remove indentation in multi-line search typeahead suggestions with pills HOT 1
- Improve link colors in typeaheads HOT 6
- Thumbnailing for bad images and empty title images HOT 1
- Add a user setting to paste without formatting by default HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zulip.