Commit 8de6357b authored by Xiaowu Zhang's avatar Xiaowu Zhang

downloadunpacked: add top_location key

parent 92dfe439
...@@ -55,7 +55,8 @@ class Recipe: ...@@ -55,7 +55,8 @@ class Recipe:
if not shared_part: if not shared_part:
raise ValueError( raise ValueError(
" Set ${buildout:shared-part} for shared feature") " Set ${buildout:shared-part} for shared feature")
shared = os.path.join(shared_part.strip().rstrip('/'), name) top_location = options.get('top_location', '')
shared = os.path.join(shared_part.strip().rstrip('/'), top_location, name)
if not os.path.exists(shared): if not os.path.exists(shared):
os.makedirs(shared) os.makedirs(shared)
self._debug_signature_text = [] self._debug_signature_text = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment