Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #1 from timkelty/master

Allow passing rsync options for sync_assets_to_local
  • Loading branch information...
commit b1c5f532bf8071686895293cbed50a53d0a9bc4f 2 parents 3e2e853 + f9fa59f
Jason Stewart authored January 11, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  util.rb
2  util.rb
@@ -115,7 +115,7 @@
115 115
         return unless asset_dirs
116 116
         asset_dirs.each do |asset_dir|
117 117
           excluded = asset_dir.fetch(:exclude, []).inject("") {|str, e| str << " --exclude #{e}"}
118  
-          `rsync -avz #{user}@#{asset_dir[:server]}:#{asset_dir[:directory]} #{asset_dir[:local_directory]} #{excluded}`
  118
+          `rsync -avz #{asset_dir[:rsync_options]} #{user}@#{asset_dir[:server]}:#{asset_dir[:directory]} #{asset_dir[:local_directory]} #{excluded}`
119 119
         end
120 120
       end
121 121
     end

0 notes on commit b1c5f53

Please sign in to comment.
Something went wrong with that request. Please try again.