Commit 9cab4afb authored by Silvio Tomatis's avatar Silvio Tomatis

Fix: use each version only for the line it's specified in, not the next ones too.

parent 4577999f
......@@ -162,6 +162,7 @@ class Recipe(object):
self._install_rubygems()
gem_executable = self.get_gem_executable(bindir)
for gemname in self.gems:
s = {
'GEM': gem_executable,
'OPTIONS': ' '.join([
......@@ -170,7 +171,6 @@ class Recipe(object):
'--bindir=%s' % bindir,
]),
}
for gemname in self.gems:
if '==' in gemname:
gemname, version = gemname.split('==', 1)
s['GEMNAME'] = gemname.strip()
......
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