From 1cb9193681cf1fe71797200512d176547fc7ddbe Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 19 Feb 2014 17:47:43 +0100 Subject: [PATCH] set owner/group in released tar --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 58a2771..39ec505 100644 --- a/Makefile.in +++ b/Makefile.in @@ -169,7 +169,7 @@ create-archive: Makefile @rm -rf /tmp/newt-$(VERSION) @git archive --prefix=newt-$(VERSION)/ $(TAG) | tar x -C /tmp @cd /tmp/newt-$(VERSION) && ./autogen.sh && rm -rf autom4te.cache .tx .gitignore - @cd /tmp; tar czSpf newt-$(VERSION).tar.gz newt-$(VERSION) + @cd /tmp; tar c --owner root --group root newt-$(VERSION) | gzip -9 > newt-$(VERSION).tar.gz @rm -rf /tmp/newt-$(VERSION) @cp /tmp/newt-$(VERSION).tar.gz . @rm -f /tmp/newt-$(VERSION).tar.gz -- 2.47.3