extensions/eppic.mk: Enable use of alternate eppic branch

Made significant changes and fixes to eppic.
Using options in the clone command break due to args parsing.
Use separate variable for clone options.

Closes: https://github.com/crash-utility/crash/pull/86
This commit is contained in:
Luc Chouinard 2021-06-09 07:59:40 -04:00 committed by Kazuhito Hagio
parent c15a1e025e
commit e61841a8b8

View File

@ -35,10 +35,10 @@ all:
if [ -f "$(GIT)" ]; \
then \
if [ -n "$(EPPIC_GIT_URL)" ]; then \
git clone "$(EPPIC_GIT_URL)" eppic; \
git clone $(EPPIC_GIT_OPTIONS) $(EPPIC_GIT_URL) eppic; \
else \
if ping -c 1 -W 5 github.com >/dev/null ; then \
git clone https://github.com/lucchouina/eppic.git eppic; \
git clone $(EPPIC_GIT_OPTIONS) https://github.com/lucchouina/eppic.git eppic; \
fi; \
fi; \
else \