Skip to content

Instantly share code, notes, and snippets.

@chris
Last active December 24, 2015 01:29
Show Gist options
  • Save chris/6724460 to your computer and use it in GitHub Desktop.
Save chris/6724460 to your computer and use it in GitHub Desktop.
Prevent Engine Yard deploy process' symlink of shared/config files from traversing subdirectories
def symlink_tasks
super.map do |task|
if task.first == 'Symlink other shared config files'
[task[0], task[1].sub(/-type/, '-maxdepth 1 -type')]
else
task
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment