Last active
December 24, 2015 01:29
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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