mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-11 08:32:21 +03:00
Merge pull request #3514 from browniebroke/fix/bash-expansion
Double quote array expansions to avoid re-splitting elements
This commit is contained in:
commit
e63578f56c
|
@ -11,7 +11,7 @@ mkdir -p .cache/bare
|
||||||
cd .cache/bare
|
cd .cache/bare
|
||||||
|
|
||||||
# create the project using the default settings in cookiecutter.json
|
# create the project using the default settings in cookiecutter.json
|
||||||
cookiecutter ../../ --no-input --overwrite-if-exists use_docker=n $@
|
cookiecutter ../../ --no-input --overwrite-if-exists use_docker=n "$@"
|
||||||
cd my_awesome_project
|
cd my_awesome_project
|
||||||
|
|
||||||
# Install OS deps
|
# Install OS deps
|
||||||
|
|
|
@ -11,7 +11,7 @@ mkdir -p .cache/docker
|
||||||
cd .cache/docker
|
cd .cache/docker
|
||||||
|
|
||||||
# create the project using the default settings in cookiecutter.json
|
# create the project using the default settings in cookiecutter.json
|
||||||
cookiecutter ../../ --no-input --overwrite-if-exists use_docker=y $@
|
cookiecutter ../../ --no-input --overwrite-if-exists use_docker=y "$@"
|
||||||
cd my_awesome_project
|
cd my_awesome_project
|
||||||
|
|
||||||
# Lint by running pre-commit on all files
|
# Lint by running pre-commit on all files
|
||||||
|
|
|
@ -119,7 +119,7 @@
|
||||||
{% block inline_javascript %}
|
{% block inline_javascript %}
|
||||||
{% comment %}
|
{% comment %}
|
||||||
Script tags with only code, no src (defer by default). To run
|
Script tags with only code, no src (defer by default). To run
|
||||||
with a "defer" so that you run run inline code:
|
with a "defer" so that you run inline code:
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener('DOMContentLoaded', () => {/* Run whatever you want */});
|
window.addEventListener('DOMContentLoaded', () => {/* Run whatever you want */});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user