mistral/tools/cookiecutter-mistral-custom/run_cookiecutter.sh
Eyal 0b8dd84b18 Add a cookiecutter template to generate custom stuff
* Custom actions and yaql expressions

Change-Id: I5843135fb8adbeb73d1e205cf81f4c60e8b5b306
2019-09-11 16:39:35 +03:00

13 lines
203 B
Bash
Executable File

#!/bin/bash
if [ ! -f "/usr/local/bin/cookiecutter" ]
then
echo "Installing cookiecutter"
if [[ $EUID -ne 0 ]]; then
SUDO=sudo
fi
$SUDO pip install cookiecutter
fi
cookiecutter .