[Reproducible-commits] [reproducible-website] 41/55: Fix command-line option in Tar examples
Chris Lamb
chris at chris-lamb.co.uk
Tue Aug 23 13:39:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository reproducible-website.
commit 33894e906af40e5ae8ffe80137db95599372bb92
Author: Jérémy Bobbio <lunar at debian.org>
Date: Thu Jan 14 18:54:02 2016 +0100
Fix command-line option in Tar examples
Thanks Faidon Liambotis for noticing.
---
_docs/archives.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/_docs/archives.md b/_docs/archives.md
index 95bdc06..67520b7 100644
--- a/_docs/archives.md
+++ b/_docs/archives.md
@@ -99,11 +99,11 @@ account name or its associated ids might be a source of reproducibility
issues.
Tar offers a way to specify the user and group owning the file. Using
-`root`/`root` and `--numeric-ids` is a safe bet, as it will effectively
+`root`/`root` and `--numeric-owner` is a safe bet, as it will effectively
record 0 as values:
{% highlight sh %}
-$ tar --owner=root --group=root --numeric-ids -cf product.tar build
+$ tar --owner=root --group=root --numeric-owner -cf product.tar build
{% endhighlight %}
Full example
@@ -116,7 +116,7 @@ The recommended way to create a Tar archive is thus:
# requires GNU Tar 1.28+
$ tar --sort=name \
--mtime="@${SOURCE_DATE_EPOCH}" \
- --owner=root --group=root --numeric-ids \
+ --owner=root --group=root --numeric-owner \
-cf product.tar build
{% endhighlight %}
</div>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reproducible-website.git
More information about the Reproducible-commits
mailing list