Fix rogue smart quotes and run explicitly under bash.

This commit is contained in:
Neal Todd 2014-07-16 13:04:34 +01:00
parent da996c6f06
commit 49db907d13
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Production-configured Wagtail installation.
# BUT, SECURE SERVICES/ACCOUNT FOR FULL PRODUCTION USE!
# For a non-dummy email backend configure Django's EMAIL_BACKEND
@ -12,7 +13,7 @@ PROJECT_ROOT=/usr/local/django
echo "This script overwrites key files, and should only be run on a new box."
read -p "Type 'yes' to confirm: " CONFIRM
[ $CONFIRM== “yes” ] || exit
[ "$CONFIRM" == "yes" ] || exit
read -p "Enter a name for your project [$PROJECT]: " U_PROJECT
if [ ! -z "$U_PROJECT" ]; then

View file

@ -1,3 +1,4 @@
#!/usr/bin/env bash
# Production-configured Wagtail installation.
# BUT, SECURE SERVICES/ACCOUNT FOR FULL PRODUCTION USE!
# For a non-dummy email backend configure Django's EMAIL_BACKEND
@ -10,7 +11,7 @@ PROJECT_ROOT=/usr/local/django
echo "This script overwrites key files, and should only be run on a new box."
read -p "Type 'yes' to confirm: " CONFIRM
[ $CONFIRM== “yes” ] || exit
[ "$CONFIRM" == "yes" ] || exit
read -p "Enter a name for your project [$PROJECT]: " U_PROJECT
if [ ! -z "$U_PROJECT" ]; then