Skip to content

Commit

Permalink
Readme.md: fix instructions for dirs with spaces (daattali#351)
Browse files Browse the repository at this point in the history
$PWD needs to be surrounded in quotes so that the commands work when any folder in the path has a space in it.
  • Loading branch information
ck37 authored and daattali committed Apr 25, 2018
1 parent 8670429 commit 82cfd06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ Beautiful Jekyll is meant to be so simple to use that you can do it all within t

```bash
cd <repository_folder>
docker build -t beautiful-jekyll $PWD
docker run -d -p 4000:4000 --name beautiful-jekyll -v $PWD:/srv/jekyll beautiful-jekyll
docker build -t beautiful-jekyll "$PWD"
docker run -d -p 4000:4000 --name beautiful-jekyll -v "$PWD":/srv/jekyll beautiful-jekyll
```


Expand Down

0 comments on commit 82cfd06

Please sign in to comment.