summaryrefslogtreecommitdiffstats
path: root/pym/repoman/errors.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-01 02:25:18 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-01 02:25:18 +0000
commite0f037138a16a8d3d608fdd1a1fd23f06df5c6f3 (patch)
treeeab6b5c83172c3d7a40615d908884deb64f6b65d /pym/repoman/errors.py
parent052bd7b2a0acf97e890e59fa1693077b8aaae2e8 (diff)
downloadportage-e0f037138a16a8d3d608fdd1a1fd23f06df5c6f3.tar.gz
portage-e0f037138a16a8d3d608fdd1a1fd23f06df5c6f3.tar.bz2
portage-e0f037138a16a8d3d608fdd1a1fd23f06df5c6f3.zip
Add a check for redundant cd "${S}" statements on the first
line of src_(compile|install|test) ebuild methods. Thanks to Petteri Räty <betelgeuse@gentoo.org> for this patch. svn path=/main/trunk/; revision=8351
Diffstat (limited to 'pym/repoman/errors.py')
-rw-r--r--pym/repoman/errors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/repoman/errors.py b/pym/repoman/errors.py
index 8378ed4d8..3b3b3c179 100644
--- a/pym/repoman/errors.py
+++ b/pym/repoman/errors.py
@@ -11,3 +11,4 @@ TRAILING_WHITESPACE_ERROR = 'Trailing whitespace error on line: %d'
READONLY_ASSIGNMENT_ERROR = 'Ebuild contains assignment to read-only variable on line: %d'
MISSING_QUOTES_ERROR = 'Unquoted Variable on line: %d'
NESTED_DIE_ERROR = 'Ebuild calls die in a subshell'
+REDUNDANT_CD_S_ERROR = 'Ebuild has redundant cd ${S} statement on line: %d'