Last active
June 17, 2019 15:08
-
-
Save wowufoundme/963e7f4035b7737a715f61d451b5c7c1 to your computer and use it in GitHub Desktop.
Small script to initialize repo for building and compiling custom ROMS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove previous repo versions | |
sudo rm -rf ~/bin/repo | |
# Make the bin directory to store the repo tool | |
mkdir -p ~/bin | |
# Add bin to PATH variable | |
PATH=~/bin:$PATH | |
# Download the latest repo tool from Google | |
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo | |
# Give proper permissions to the tool! | |
chmod a+x ~/bin/repo | |
echo "Success" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment