Merge pull request #4 from rk295/patch-2

Exporting these two variables makes them available to Mo (on bash 4.1.2 at least)
This commit is contained in:
Tyler Akins 2015-01-28 07:36:02 -06:00
commit bc838de550

View File

@ -5,8 +5,8 @@ cd "$(dirname "$0")"/..
date-string() { date; }
wrapper() { echo -n "*** $1 ***"; }
IP=127.0.0.1
ALLOWED_HOSTS=( 192.168.0.1 192.168.0.2 192.168.0.3 )
export IP=127.0.0.1
export ALLOWED_HOSTS=( 192.168.0.1 192.168.0.2 192.168.0.3 )
cat <<EOF | . mo
# {{#wrapper}}OH SO IMPORTANT{{/wrapper}}