Skip to content
Snippets Groups Projects
Commit 436e945a authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

indents

parent f9b83a4e
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,13 @@ ...@@ -2,6 +2,13 @@
set +e set +e
# Syntax sugar.
indent() {
RE="s/^/ /"
[ $(uname) == "Darwin" ] && sed -l "$RE" || sed -u "$RE"
}
# Check if collectstatic is configured. # Check if collectstatic is configured.
python $MANAGE_FILE collectstatic --help &> /dev/null && RUN_COLLECTSTATIC=true python $MANAGE_FILE collectstatic --help &> /dev/null && RUN_COLLECTSTATIC=true
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
# ## Sanity Checks # ## Sanity Checks
# #
# Syntax sugar.
indent() {
RE="s/^/ /"
[ $(uname) == "Darwin" ] && sed -l "$RE" || sed -u "$RE"
}
echo "-----> Installing dj-database-url..." echo "-----> Installing dj-database-url..."
pip install --use-mirrors dj-database-url | indent pip install --use-mirrors dj-database-url | indent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment