Commit 436e945a authored by Kenneth Reitz's avatar Kenneth Reitz

indents

parent f9b83a4e
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment