mirror of
https://github.com/ansible/awx.git
synced 2026-03-16 00:17:29 -02:30
Fix conditional for older bash
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,7 +1,7 @@
|
|||||||
PYTHON=python
|
PYTHON=python
|
||||||
SITELIB=$(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
|
SITELIB=$(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
|
||||||
PACKER ?= packer
|
PACKER ?= packer
|
||||||
GRUNT ?= $(shell [[ -t 0 || -p /dev/stdin ]] && echo "grunt" || echo "grunt --no-color")
|
GRUNT ?= $(shell [ -t 0 -o -p /dev/stdin ] && echo "grunt" || echo "grunt --no-color")
|
||||||
|
|
||||||
# Get the branch information from git
|
# Get the branch information from git
|
||||||
GIT_DATE := $(shell git log -n 1 --format="%ai")
|
GIT_DATE := $(shell git log -n 1 --format="%ai")
|
||||||
|
|||||||
Reference in New Issue
Block a user