also check quoting on the Prefix variables added in EAPI=3, thanks jlec for the sugge...
authorFabian Groffen <grobian@gentoo.org>
Mon, 5 Apr 2010 17:40:39 +0000 (19:40 +0200)
committerFabian Groffen <grobian@gentoo.org>
Mon, 5 Apr 2010 17:40:39 +0000 (19:40 +0200)
pym/repoman/checks.py

index c918eea6d7648d8baf4eec28d6f6b82b66b63104..23f1267d92868928303bd40b444925ebc8ebd939 100644 (file)
@@ -138,6 +138,9 @@ class EbuildQuote(LineCheck):
                r'|(^\s*(' + "|".join(_ignored_commands) + r')\s+)')
        var_names = ["D", "DISTDIR", "FILESDIR", "S", "T", "ROOT", "WORKDIR"]
 
+       # EAPI=3/Prefix vars
+       var_names += ["ED", "EPREFIX", "EROOT"]
+
        # variables for games.eclass
        var_names += ["Ddir", "GAMES_PREFIX_OPT", "GAMES_DATADIR",
                "GAMES_DATADIR_BASE", "GAMES_SYSCONFDIR", "GAMES_STATEDIR",