From 5a4913224acd2ee90168aaba75b1c4b0535b40e7 Mon Sep 17 00:00:00 2001 From: Yoni Date: Sun, 21 Apr 2024 22:17:35 +0300 Subject: [PATCH] Use /bin/bash as the shell for Makefile (#1264) --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 586c2ab38a..625592f247 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +SHELL=/bin/bash # Makefile for OpenDevin project # Variables @@ -11,11 +12,11 @@ CONFIG_FILE = config.toml PRECOMMIT_CONFIG_PATH = "./dev_config/python/.pre-commit-config.yaml" # ANSI color codes -GREEN=\033[0;32m -YELLOW=\033[0;33m -RED=\033[0;31m -BLUE=\033[0;34m -RESET=\033[0m +GREEN=$(shell tput -Txterm setaf 2) +YELLOW=$(shell tput -Txterm setaf 3) +RED=$(shell tput -Txterm setaf 1) +BLUE=$(shell tput -Txterm setaf 6) +RESET=$(shell tput -Txterm sgr0) # Build build: