aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/remote.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v0/remote.rb')
-rw-r--r--lib/sisu/v0/remote.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v0/remote.rb b/lib/sisu/v0/remote.rb
index 7e0205b1..2a45e3cb 100644
--- a/lib/sisu/v0/remote.rb
+++ b/lib/sisu/v0/remote.rb
@@ -62,8 +62,8 @@ module SiSU_Remote
def initialize(opt)
@opt=opt
@dir=SiSU_Env::Info_env.new(@opt.fns)
- @put=unless @opt.fns =~/\._sst$/; @opt.fns
- else @opt.fns.gsub(/(.+)?\._sst$/,'\1.ssm')
+ @put=unless @opt.fns =~/\.ssm\.sst$/; @opt.fns
+ else @opt.fns.gsub(/(.+)?\.ssm\.sst$/,'\1.ssm')
end
@remote=SiSU_Env::Info_remote.new(@opt)
end