aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/hub.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-12-02 23:30:51 -0500
committerRalph Amissah <ralph@amissah.com>2013-12-02 23:30:51 -0500
commitda5e7ffe9b6b76f965d3ec01b4bef0c99b7f1955 (patch)
treee3739fae2390609b557dbec04ec3c6485a3f1b64 /lib/sisu/v4/hub.rb
parentv5: xmlns xlink using xl (diff)
v4 v5: rake create build & install sisu gemspec; bin/sisugem (add .gitignore)
* rake gemcbi #(create build install sisu gem) * rake gemspecscreate && \ rake gembuild && \ sudo rake geminstall * rake gemspecscreate && \ gem build sisu5.gemspec && \ sudo gem install --no-rdoc --no-ri \ sisu-5.1.0.gem * bin/sisu updated (modified to take account of gems) * bin/sisugem added * .gitignore sisu-*.gem sisu*.gemspec consider inclusion (& tracking) of rake created sisu4.gemspec sisu5.gemspec (as this makes their availability more obvious) * once gem is installed: "sisu _5.1.0_ -vM" (to see version, commands otherwise as usual) if paths are such that sisu is not available "sisugem _5.1.0_ -vM" should work (as it is installed by gemspec, but not other sisu installers)
Diffstat (limited to 'lib/sisu/v4/hub.rb')
-rw-r--r--lib/sisu/v4/hub.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sisu/v4/hub.rb b/lib/sisu/v4/hub.rb
index ebe9ccf4..5965994f 100644
--- a/lib/sisu/v4/hub.rb
+++ b/lib/sisu/v4/hub.rb
@@ -388,7 +388,6 @@ module SiSU
SiSU_Source::SiSUpodSource.new(@opt).read
end
if @opt.act[:share_source][:set]==:on
-#REDO
require_relative 'share_src' # -s share_src.rb
begin
ensure
@@ -516,6 +515,9 @@ module SiSU
SiSU_Env::InfoProcessingFlag.new
if @opt.act[:version_info][:set]==:on #% version information
SiSU_Env::InfoAbout.new(@opt).sisu_version
+ if @opt.cmd =~/[vVM]/
+ SiSU_Screen::Ansi.new(@opt.cmd,' ' + File.dirname(__FILE__)).grey
+ end
end
if @opt.act[:dal][:set]==:on \
or @opt.act[:maintenance][:set]==:on #% --maintenance, -m for -C