From: Miroslav Lichvar Date: Wed, 19 Feb 2014 16:47:43 +0000 (+0100) Subject: set owner/group in released tar X-Git-Tag: r0-52-17~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1cb9193681cf1fe71797200512d176547fc7ddbe;p=thirdparty%2Fnewt.git set owner/group in released tar --- 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