luca020400

Untitled

Jan 19th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. if echo $1 | grep github; then
  4. curl $1.patch | git am
  5. elif echo $1 | grep bitbucket; then
  6. curl $1/raw/ | git am
  7. fi
Advertisement
Add Comment
Please, Sign In to add comment