Skip to content

Instantly share code, notes, and snippets.

@therobot
Created August 24, 2009 16:50
Show Gist options
  • Save therobot/173965 to your computer and use it in GitHub Desktop.
Save therobot/173965 to your computer and use it in GitHub Desktop.
find . -name 'deploy.rb' -exec grep "current/public/system/maintenance.html" {} \; -a -exec gsed -i "s:current/public/system/maintenance.html:#{current}/public/system/maintenance.html:" {} \; -a -exec svn ci {} -m "Fix: path of the directory was wrong in maintenance_off task, correcting it" -print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment