bin/understudy in understudy-0.0.7 vs bin/understudy in understudy-0.0.8
- old
+ new
@@ -84,16 +84,16 @@
end
def run command
friendly = nil
if command.is_a? Array
- friendly = command.map { |i| i =~ /[^-=\/\.\w]/ ? "'#{i}'" : i }.join ' '
+ friendly = command.map { |i| i =~ /[^-=\/\.\w]/ ? "#{i}" : i }.join ' '
info "Running: #{friendly}"
- RdiffSimple.execute( command ) or error "Could not run #{friendly}"
+ RdiffSimple.execute( friendly ) or error "Could not run #{friendly}"
else
friendly = command
info "Running: #{friendly}"
- RdiffSimple.execute( command ) or error "Could not run #{friendly}"
+ RdiffSimple.execute( friendly ) or error "Could not run #{friendly}"
end
if $? != 0
error "Could not run #{friendly}"
end
end