Use /bin/bash shell instead /bin/sh for make
By default on all linux based systems make uses /bin/sh as a shell.
Switching to /bin/bash allows to use all features provided by /bin/bash
shell
Bug: Issue Issue 13352
Change-Id: I8a02b0be0f83705352bf602ee81cf348c4185c32
diff --git a/Makefile.common b/Makefile.common
index f80d22a..16a8970 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -1,7 +1,8 @@
+SHELL := /bin/bash
+
ROOT_DIR=$(dir $(realpath $(filter %Makefile.common,$(MAKEFILE_LIST))))
include $(ROOT_DIR)common.env
-
cluster-keys:
aws ec2 describe-key-pairs --region $(AWS_REGION) --key-names $(CLUSTER_KEYS) > /dev/null 2>&1 || \
aws ec2 create-key-pair --region $(AWS_REGION) --key-name $(CLUSTER_KEYS) --query 'KeyMaterial' --output text > $(CLUSTER_KEYS).pem