Advertisement
benjamingwynn_xda

Untitled

Aug 12th, 2012
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. a="$(date +%Y%m%d)"
  2. b="$(date +%d-%m-%Y)"
  3. c="$(date +%m)"
  4. if [ "$c" = "01" ]; then d="January"; fi
  5. if [ "$c" = "02" ]; then d="February"; fi
  6. if [ "$c" = "03" ]; then d="March"; fi
  7. if [ "$c" = "04" ]; then d="April"; fi
  8. if [ "$c" = "05" ]; then d="May"; fi
  9. if [ "$c" = "06" ]; then d="June"; fi
  10. if [ "$c" = "07" ]; then d="July"; fi
  11. if [ "$c" = "08" ]; then d="August"; fi
  12. if [ "$c" = "09" ]; then d="September"; fi
  13. if [ "$c" = "10" ]; then d="October"; fi
  14. if [ "$c" = "11" ]; then d="November"; fi
  15. if [ "$c" = "12" ]; then d="December"; fi
  16. e="$(date +%Y)"
  17. scp -P 2222 out/target/product/$1/"cm-10-"$a"-EXPERIMENTAL-"$1"-CM-10-NIGHTLY-"$b".zip" benjamingwynn@upload.goo.im:public_html/$1/CyanogenMod10/$e/$c"_"$d/"CM10-"$c".zip"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement