commit:     5969315c9dc0f0deebeaa94ae6843250b6fc2e40
Author:     Viktor Lazarev <taurus101v <AT> gmail <DOT> com>
AuthorDate: Sat Aug  8 19:22:27 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Aug  8 19:22:27 2015 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=5969315c

Update bash command

Using of `$(portageq portdir)/header.txt` throws warning:
> WARNING: 'portageq portdir' is deprecated. Use the get_repo_path command 
> instead. eg: 'portageq get_repo_path / gentoo' instead.

 ebuild-writing/file-format/text.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ebuild-writing/file-format/text.xml 
b/ebuild-writing/file-format/text.xml
index 6ab22a2..b71ee74 100644
--- a/ebuild-writing/file-format/text.xml
+++ b/ebuild-writing/file-format/text.xml
@@ -138,7 +138,7 @@ is to use <c>9999</c> as the version (or as the last 
version component).
 <p>
 All ebuilds committed to the tree should have a three line header immediately 
at
 the start indicating copyright. This must be an exact copy of the contents of
-<c>$(portageq portdir)/header.txt</c>. Ensure that the <c>$Header: $</c> line 
is not
+<c>$(portageq get_repo_path / gentoo)/header.txt</c>. Ensure that the 
<c>$Header: $</c> line is not
 modified manually <d/> CVS will handle this line specially.
 </p>
 

Reply via email to