[rb-commits] [website] master: Fix command-line option in Tar examples (33894e9)
lunar at jenkins.debian.net
lunar at jenkins.debian.net
Thu Jan 14 18:56:10 CET 2016
Repository : ssh://jenkins/website
On branch : master
>---------------------------------------------------------------
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.
>---------------------------------------------------------------
33894e906af40e5ae8ffe80137db95599372bb92
_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>
More information about the rb-commits
mailing list