Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a="$(date +%Y%m%d)"
- b="$(date +%d-%m-%Y)"
- c="$(date +%m)"
- if [ "$c" = "01" ]; then d="January"; fi
- if [ "$c" = "02" ]; then d="February"; fi
- if [ "$c" = "03" ]; then d="March"; fi
- if [ "$c" = "04" ]; then d="April"; fi
- if [ "$c" = "05" ]; then d="May"; fi
- if [ "$c" = "06" ]; then d="June"; fi
- if [ "$c" = "07" ]; then d="July"; fi
- if [ "$c" = "08" ]; then d="August"; fi
- if [ "$c" = "09" ]; then d="September"; fi
- if [ "$c" = "10" ]; then d="October"; fi
- if [ "$c" = "11" ]; then d="November"; fi
- if [ "$c" = "12" ]; then d="December"; fi
- e="$(date +%Y)"
- 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