From ec68b8e999f0935799094de647eb2133d931a0f2 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Thu, 24 Sep 2015 15:35:20 -0300 Subject: [PATCH] Using tar posix compatible --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2c4146b..39bbac1 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,8 @@ colab_dir=/usr/lib/colab dist: clean mkdir -p $(DISTDIR)/$(PACKAGE_NAME) - tar --exclude=.git --exclude=$(DISTDIR) -cf - * | (cd $(DISTDIR)/$(PACKAGE_NAME) && tar xaf -) - cd $(DISTDIR) && tar -caf $(TARBALL) $(PACKAGE_NAME) + tar --exclude=.git --exclude=$(DISTDIR) -cf - * | (cd $(DISTDIR)/$(PACKAGE_NAME) && tar xzf -) + cd $(DISTDIR) && tar -czf $(TARBALL) $(PACKAGE_NAME) rm -r $(DISTDIR)/$(PACKAGE_NAME) clean: $(RM) $(TARBALL) -- libgit2 0.21.2