Skip to content

Instantly share code, notes, and snippets.

@rob-b
Created September 12, 2011 14:02
Show Gist options
  • Save rob-b/1211324 to your computer and use it in GitHub Desktop.
Save rob-b/1211324 to your computer and use it in GitHub Desktop.
shortening
sudo('chown www-data:www-data '
'%(path)s/releases/%(release_name)s/ebay/assets/ -R' % env)
cmd = 'chown www-data: -R'
path = '%(path)s/releases/%(release_name)s/ebay/assets' % env)
sudo('%s %s' % (cmd, path)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment