aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-10-12 10:26:15 -0400
committerRalph Amissah <ralph@amissah.com>2014-10-12 10:26:15 -0400
commit1f0232a256c2b64404d4be85af29c1bf9bde3bce (patch)
tree7ebbee01da1a3b9e45c11cb5d119d5397e8744ea /bin
parentv5 v6: db, --maintenance sql, separated out postgresql & sqlite (diff)
v5 v6: bin/sisu, hub, urls --maintenance, fix
Diffstat (limited to 'bin')
-rw-r--r--bin/sisu20
1 files changed, 10 insertions, 10 deletions
diff --git a/bin/sisu b/bin/sisu
index 87bca962..a8ecb70e 100644
--- a/bin/sisu
+++ b/bin/sisu
@@ -94,22 +94,22 @@ class Orient
if sisu_run_from == :full_path_to_sisu_bin_in_sisu_dir_tree \
or sisu_run_from == :system_install
case processing.called_as
- when processing.stable_bin_file_regex then processing.stable
- when processing.unstable_bin_file_regex then processing.unstable
+ when processing.stable_bin_file_regex then processing.stable
+ when processing.unstable_bin_file_regex then processing.unstable
else
case processing.argv_str
- when processing.stable_modifier_regex then processing.stable
- when processing.unstable_modifier_regex then processing.unstable
- else processing.default
+ when processing.stable_modifier_regex then processing.stable
+ when processing.unstable_modifier_regex then processing.unstable
+ else processing.default
end
end
elsif sisu_run_from == :gem_install
case processing.file_full_path
- when processing.stable_gem_regex then processing.stable
- when processing.unstable_gem_regex then processing.unstable
- else processing.default
+ when processing.stable_gem_regex then processing.stable
+ when processing.unstable_gem_regex then processing.unstable
+ else processing.default
end
- else processing.default
+ else processing.default
end
end
def paths_set
@@ -263,7 +263,7 @@ class Orient
end
rescue
ensure
- SiSU::HubClose.new(sisu_called_from_directory)
+ SiSU::HubClose.new(sisu_called_from_directory,@argv)
Dir.chdir(sisu_called_from_directory)
system("cd #{sisu_called_from_directory}")
end