mirror of https://github.com/dynup/kpatch
test/unit: run submodule command from base git directory
This fixes the following error with an older version of git (1.8.3.1): make -C test/unit make[1]: Entering directory `/root/kpatch/test/unit' git submodule update --init --rebase You need to run this command from the toplevel of the working tree. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
This commit is contained in:
parent
ba5f3a9900
commit
5736f18d83
|
@ -4,7 +4,7 @@ OBJDIR ?= objs/$(ARCH)
|
|||
.PHONY: all clean
|
||||
|
||||
all: Makefile.include
|
||||
git submodule update --init --rebase
|
||||
cd $(shell git rev-parse --show-toplevel) && git submodule update --init --rebase
|
||||
$(MAKE) -C $(OBJDIR)
|
||||
|
||||
clean: Makefile.include
|
||||
|
|
Loading…
Reference in New Issue