aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--setup/qi_libs.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/setup/qi_libs.rb b/setup/qi_libs.rb
index e58547b1..aa3f7706 100644
--- a/setup/qi_libs.rb
+++ b/setup/qi_libs.rb
@@ -616,9 +616,9 @@ end
def self.build(fn)
system(%{ gem build #{fn}.gemspec })
end
- def self.install(fn)
+ def self.install(vn)
system(%{
- sudo gem install --local --no-document --verbose #{fn}.gem
+ sudo gem install --local --no-document --verbose sisu-#{vn}.gem
})
end
module Current
@@ -653,11 +653,11 @@ end
end
def self.install_stable(version=:version_standard)
vi=Version_info::Current.setting_stable
- filename=((version==:version_git) \
+ vn=((version==:version_git) \
&& (Version_info.version_number_use(vi) != vi[:version_number])) \
- ? ('sisu-' + Version_info.version_number_use(vi) + '.gem')
- : ('sisu-' + vi[:version_number] + '.gem')
- Gemspecs.install(filename)
+ ? (Version_info.version_number_use(vi))
+ : (vi[:version_number])
+ Gemspecs.install(vn)
end
end
end