Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- export CL_RED="\"\033[31m\""
- export CL_GRN="\"\033[32m\""
- export CL_YLW="\"\033[33m\""
- export CL_BLU="\"\033[34m\""
- export CL_MAG="\"\033[35m\""
- export CL_CYN="\"\033[36m\""
- export CL_RST="\"\033[0m\""
- export BUILD_WITH_COLORS=0
- git config --global user.name 'name'
- rm -r -f recovery
- mkdir -p ~/bin
- export PATH=~/bin:$PATH
- curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
- chmod a+x ~/bin/repo
- #if [ ! -d "recovery" ]; then
- mkdir recovery
- #fi
- cd recovery
- repo init -u git://github.com/androidarmv6/android.git -b ics
- # curl https://github.com/teamgelato/manifest/raw/master/local_manifest.xml > ./.repo/local_manifest.xml
- curl $manifest > ./.repo/local_manifest.xml
- repo sync
- if [ ! -d ./device/lge/gelato ];
- lunch $LUNCH
- make -j2 recoveryimage
- cp $OUT/recovery.img $WORKSPACE/archive
Advertisement
Add Comment
Please, Sign In to add comment