Skip to content

Commit

Permalink
Fix color escape code output in standalone runserver.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
acrewdson authored and chosak committed May 17, 2018
1 parent d8d0a55 commit 4ac678d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions runserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
set -e

if [ "$1" == "ssl" ]; then
echo '\033[0;32mStarting SSL Django server on port' $DJANGO_HTTP_PORT '...'
echo -e '\033[0;32mStarting SSL Django server on port' $DJANGO_HTTP_PORT '...'
tput sgr0
python cfgov/manage.py runsslserver $DJANGO_HTTP_PORT
else
echo '\033[0;32mStarting the Django server on port' $DJANGO_HTTP_PORT '...'
echo -e '\033[0;32mStarting the Django server on port' $DJANGO_HTTP_PORT '...'
tput sgr0
python cfgov/manage.py runserver $DJANGO_HTTP_PORT
fi

0 comments on commit 4ac678d

Please sign in to comment.