self-hosting/set_environment.sh
2019-08-22 05:11:27 +02:00

12 lines
146 B
Bash
Executable file

#!/bin/bash
set -e
if [ -z "$1" ]
then
echo 'You must specify an environment'
exit 1
fi
echo "$1" > .environment
./setup_virtualenv.sh