Message ID | 1498235637-26322-1-git-send-email-drjones@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 23/06/2017 18:33, Andrew Jones wrote: > Older git doesn't have '-C'. > > Signed-off-by: Andrew Jones <drjones@redhat.com> > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 17d91c8ccf0ed..933b9f0f7ac6f 100644 > --- a/Makefile > +++ b/Makefile > @@ -91,7 +91,7 @@ directories: > > -include */.*.d */*/.*.d > > -all: directories $(shell git -C $(SRCDIR) rev-parse --verify --short=8 HEAD >build-head 2>/dev/null) > +all: directories $(shell cd $(SRCDIR) && git rev-parse --verify --short=8 HEAD >$(PWD)/build-head 2>/dev/null) > > standalone: all > @scripts/mkstandalone.sh > Queued, thanks. Paolo
diff --git a/Makefile b/Makefile index 17d91c8ccf0ed..933b9f0f7ac6f 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ directories: -include */.*.d */*/.*.d -all: directories $(shell git -C $(SRCDIR) rev-parse --verify --short=8 HEAD >build-head 2>/dev/null) +all: directories $(shell cd $(SRCDIR) && git rev-parse --verify --short=8 HEAD >$(PWD)/build-head 2>/dev/null) standalone: all @scripts/mkstandalone.sh
Older git doesn't have '-C'. Signed-off-by: Andrew Jones <drjones@redhat.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)