Changed variables to bash style

This commit is contained in:
2022-07-11 14:05:59 +02:00
parent 3532070f31
commit cdbf90b6cb

View File

@@ -8,11 +8,11 @@ set -eux
_git_setup ( ) { _git_setup ( ) {
cat <<- EOF > $HOME/.netrc cat <<- EOF > $HOME/.netrc
machine github.com machine github.com
login $GITHUB_ACTOR login "$GITHUB_ACTOR"
password $GITHUB_TOKEN password "$GITHUB_TOKEN"
machine api.github.com machine api.github.com
login $GITHUB_ACTOR login "$GITHUB_ACTOR"
password $GITHUB_TOKEN password "$GITHUB_TOKEN"
EOF EOF
chmod 600 $HOME/.netrc chmod 600 $HOME/.netrc
@@ -22,11 +22,11 @@ EOF
echo "Installing dependencies..." echo "Installing dependencies..."
pip3 install -U pip wheel pygraphviz pip3 install -U pip wheel pygraphviz
pip3 install -r $INPUT_PIP_PATH pip3 install -r "$INPUT_PIP_PATH"
echo "Creating data model..." echo "Creating data model..."
cd $INPUT_PROJECT_PATH cd "$INPUT_PROJECT_PATH"
python3 manage.py graph_models -a -g -o $INPUT_OUTPUT_PATH python3 manage.py graph_models -a -g -o "$INPUT_OUTPUT_PATH"
# To keep runtime good, just continue if something was changed # To keep runtime good, just continue if something was changed
if [[ `git status --porcelain` ]]; then if [[ `git status --porcelain` ]]; then