mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Handle /bin/sh as the default shell
Fixes a build issue on Ubuntu where the `source` function isn't available within `/bin/sh` (ubuntu).
This commit is contained in:
parent
97d5b7e11b
commit
64b65edf2c
2
Makefile
2
Makefile
@ -90,7 +90,7 @@ OFFLINE_TAR_NAME=$(NAME)-offline-$(DIST_FULL)-$(VERSION)-$(RELEASE)
|
||||
OFFLINE_TAR_FILE=$(OFFLINE_TAR_NAME).tar.gz
|
||||
OFFLINE_TAR_LINK=$(NAME)-setup-latest.tar.gz
|
||||
|
||||
DISTRO := $(shell source /etc/os-release 2>/dev/null && echo $${ID} || echo redhat)
|
||||
DISTRO := $(shell . /etc/os-release 2>/dev/null && echo $${ID} || echo redhat)
|
||||
ifeq ($(DISTRO),ubuntu)
|
||||
SETUP_INSTALL_ARGS = --skip-build --no-compile --root=$(DESTDIR) -v --install-layout=deb
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user