Skip to content

Commit

Permalink
Don't store owner or group in our release's tar archive
Browse files Browse the repository at this point in the history
Set owner and group to ID 0 and don't store the same either. This is
done so the archive will not show the username of the user who created
the release.
  • Loading branch information
samcv committed Aug 24, 2018
1 parent c22105b commit 53053c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build/Makefile-Moar.in
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ release: manifest
bash -c '[ "$$(cat VERSION)" == "$(VERSION)" ] || ( echo -e "\nVersion on command line and in VERSION file differ\n"; exit 1 )'
[ -d nqp-$(VERSION) ] || ln -s . nqp-$(VERSION)
$(PERL) -ne 'print "nqp-$(VERSION)/$$_"' MANIFEST |\
tar -zcv -T - -f nqp-$(VERSION).tar.gz
tar -zcv --owner=0 --group=0 --numeric-owner -T - -f nqp-$(VERSION).tar.gz
rm nqp-$(VERSION)

distclean: realclean
Expand Down

0 comments on commit 53053c5

Please sign in to comment.