Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Commit

Permalink
very simple sh implementation - might not even need to change in the …
Browse files Browse the repository at this point in the history
…future
  • Loading branch information
davidhalter committed Dec 12, 2013
1 parent 1847e1e commit 9d76850
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions depl/deploy/sh.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from fabric.api import sudo, run


def deploy(string):
cmd = sudo if 'sudo ' in string else run

return lambda: cmd(string),

0 comments on commit 9d76850

Please sign in to comment.