summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2008-05-02 03:23:38 +0000
committerMarius Mauch <genone@gentoo.org>2008-05-02 03:23:38 +0000
commit908e8bf9c693a7d0b6b9dc7a7c463e26bffb7b18 (patch)
treea54fd168f03926084995ba94e8fcb3d924aa3dfc
parentba95595b7dbaf331ebfbd3156ad8eabd55a21979 (diff)
downloadportage-908e8bf9c693a7d0b6b9dc7a7c463e26bffb7b18.tar.gz
portage-908e8bf9c693a7d0b6b9dc7a7c463e26bffb7b18.tar.bz2
portage-908e8bf9c693a7d0b6b9dc7a7c463e26bffb7b18.zip
remove 'sets/' name-prefix for file-based package sets
svn path=/main/trunk/; revision=10073
-rw-r--r--pym/portage/sets/files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/sets/files.py b/pym/portage/sets/files.py
index 3fe397c5c..bf9f9e6e8 100644
--- a/pym/portage/sets/files.py
+++ b/pym/portage/sets/files.py
@@ -108,7 +108,7 @@ class StaticFileSet(EditablePackageSet):
def multiBuilder(self, options, settings, trees):
rValue = {}
directory = options.get("directory", os.path.join(settings["PORTAGE_CONFIGROOT"], USER_CONFIG_PATH.lstrip(os.sep), "sets"))
- name_pattern = options.get("name_pattern", "sets/${name}")
+ name_pattern = options.get("name_pattern", "${name}")
if not "$name" in name_pattern and not "${name}" in name_pattern:
raise SetConfigError("name_pattern doesn't include ${name} placeholder")
greedy = get_boolean(options, "greedy", False)