diff --git a/Makefile b/Makefile index 3e18e5e3e4..52cde438f7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ -include awx/ui_next/Makefile PYTHON := $(notdir $(shell for i in python3.9 python3; do command -v $$i; done|sed 1q)) +SHELL := bash DOCKER_COMPOSE ?= docker-compose OFFICIAL ?= no NODE ?= node diff --git a/pre-commit.sh b/pre-commit.sh index f6f1504c9c..003106216b 100755 --- a/pre-commit.sh +++ b/pre-commit.sh @@ -1,3 +1,4 @@ +#!/usr/bin/env bash if [ -z $AWX_IGNORE_BLACK ] ; then python_files_changed=$(git diff --cached --name-only --diff-filter=AM | grep -E '\.py$') if [ "x$python_files_changed" != "x" ] ; then