From fa194684cec12c5e2099e55897c6fb976b6adc80 Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Sun, 12 Jul 2015 17:25:41 +0200 Subject: [PATCH] Simplify chdir shenanigans when building .bare.zip. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7a611e9..6ed49a1 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ $(DISTROOT).bare.zip: | .git $(RM) $@ $(RM) -r $@.tmp $(MKDIR) $@.tmp - cd src && $(GIT) archive $(call git-describe) . | tar -x -C ../$@.tmp + $(GIT) archive $(call git-describe) src | tar -x --strip-components 1 -C $@.tmp $(MAKE) $(BUILT:src/%=$@.tmp/%) $(RM) $(XCFS:src/%=$@.tmp/%) cd $@.tmp && $(ZIP) ../$(@F) -r . -- 2.30.2