Commit 75aa8732 authored by Pablo Panero's avatar Pablo Panero
Browse files

Makefile: enforce /bin/bash as shell

parent 0df878c9
......@@ -82,7 +82,7 @@ PYTHON_VERSION := $(cat $(PYTHON_VERSION_FILE))
PIPENV_DOCKER_FILE := docker-compose.yml
check-requirements-local:
PYTHON_VERSION=$(PYTHON_VERSION) sh scripts/pipenv/requirements.sh
PYTHON_VERSION=$(PYTHON_VERSION) /bin/bash scripts/pipenv/requirements.sh
.PHONY: check-requirements-local
build-local-env: check-requirements-local
......
#!/bin/bash
# check python version
if [[ "$(python --version)" =~ "Python ${PYTHON_VERSION}" ]]; then
echo Python ${PYTHON_VERSION} is installed
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment