diff options
-rw-r--r-- | README.md | 3 | ||||
-rwxr-xr-x | bin/setup | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -5,6 +5,7 @@ HackMD [![Join the chat at https://gitter.im/hackmdio/hackmd][gitter-image]][gitter-url] [![build status][travis-image]][travis-url] +[![version][github-version-badge]][github-release-page] HackMD lets you create realtime collaborative markdown notes on all platforms. @@ -233,5 +234,7 @@ See more at [http://operational-transformation.github.io/](http://operational-tr [gitter-url]: https://gitter.im/hackmdio/hackmd?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge [travis-image]: https://travis-ci.org/hackmdio/hackmd.svg?branch=master [travis-url]: https://travis-ci.org/hackmdio/hackmd +[github-version-badge]: https://img.shields.io/github/release/hackmdio/hackmd.svg +[github-release-page]: https://github.com/hackmdio/hackmd/releases [standardjs-image]: https://cdn.rawgit.com/feross/standard/master/badge.svg [standardjs-url]: https://github.com/feross/standard @@ -5,7 +5,7 @@ set -e # run command at repo root CURRENT_PATH=$PWD if [ -d .git ]; then - cd $(git rev-parse --show-toplevel) + cd "$(git rev-parse --show-toplevel)" fi if ! type npm > /dev/null @@ -43,4 +43,4 @@ Read more info at https://github.com/hackmdio/hackmd#configuration-files EOF # change directory back -cd $CURRENT_PATH +cd "$CURRENT_PATH" |