X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile.local;h=3d3474e0c97e213358862e671dd009a4600c536c;hp=03eafaaa523bf82b00237860fd590d32c8bead7a;hb=18ee87e7ce7e6a20e17a8e5138a82b9069276691;hpb=807a9cb8aa897462e247993a1cdfa96377aa20e4 diff --git a/Makefile.local b/Makefile.local index 03eafaaa..3d3474e0 100644 --- a/Makefile.local +++ b/Makefile.local @@ -31,7 +31,9 @@ $(TAR_FILE): fi ; \ git archive --format=tar --prefix=$(PACKAGE)-$(VERSION)/ $$ref > $(TAR_FILE).tmp echo $(VERSION) > version.tmp - tar --append -f $(TAR_FILE).tmp --transform s_^_$(PACKAGE)-$(VERSION)/_ --transform 's_.tmp$$__' version.tmp + tar --owner root --group root --append -f $(TAR_FILE).tmp \ + --transform s_^_$(PACKAGE)-$(VERSION)/_ \ + --transform 's_.tmp$$__' version.tmp rm version.tmp gzip < $(TAR_FILE).tmp > $(TAR_FILE) @echo "Source is ready for release in $(TAR_FILE)"