diff --git a/book/05-distributed-git/sections/maintaining.asc b/book/05-distributed-git/sections/maintaining.asc index c377bb68d..2f9ea8f56 100644 --- a/book/05-distributed-git/sections/maintaining.asc +++ b/book/05-distributed-git/sections/maintaining.asc @@ -512,7 +512,7 @@ The command to do this is `git archive`: [source,console] ---- -$ git archive master --prefix='project/' | gzip > `git describe master`.tar.gz +$ git archive master --prefix='project/' | gzip > "$(git describe master).tar.gz" $ ls *.tar.gz v1.6.2-rc1-20-g8c5b85c.tar.gz ---- @@ -522,7 +522,7 @@ You can also create a zip archive in much the same way, but by passing the `--fo [source,console] ---- -$ git archive master --prefix='project/' --format=zip > `git describe master`.zip +$ git archive master --prefix='project/' --format=zip > "$(git describe master).zip" ---- You now have a nice tarball and a zip archive of your project release that you can upload to your website or email to people.