def local_git_clone(repo_url):
 with lcd(LOGDIR):
  local('if [ -d letsencrypt ]; then rm -rf letsencrypt; fi')
  local(('git clone %s letsencrypt' % repo_url))
  local('tar czf le.tar.gz letsencrypt')

def local_git_clone ( repo_url ) : with lcd ( LOGDIR ) : local ( 'if [ -d letsencrypt ]; then rm -rf letsencrypt; fi' ) local ( ( 'git clone %s letsencrypt' % repo_url ) ) local ( 'tar czf le.tar.gz letsencrypt' )
clones master of repo_url .