self-hosting/set_environment.sh

13 lines
146 B
Bash
Raw Normal View History

2019-08-22 05:11:27 +02:00
#!/bin/bash
set -e
if [ -z "$1" ]
then
echo 'You must specify an environment'
exit 1
fi
echo "$1" > .environment
./setup_virtualenv.sh