diff options
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/recipetool/create.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 6dba07819b..38f5eadaf5 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
@@ -212,6 +212,8 @@ def create_recipe(args): | |||
212 | # This would be the default, so we don't need to set S in the recipe | 212 | # This would be the default, so we don't need to set S in the recipe |
213 | srcsubdir = '' | 213 | srcsubdir = '' |
214 | if srcsubdir: | 214 | if srcsubdir: |
215 | if pv and pv not in 'git svn hg'.split(): | ||
216 | srcsubdir = srcsubdir.replace(pv, '${PV}') | ||
215 | lines_before.append('S = "${WORKDIR}/%s"' % srcsubdir) | 217 | lines_before.append('S = "${WORKDIR}/%s"' % srcsubdir) |
216 | lines_before.append('') | 218 | lines_before.append('') |
217 | 219 | ||