Skip to content

Instantly share code, notes, and snippets.

@optedoblivion
Created September 11, 2011 01:41
Show Gist options
  • Save optedoblivion/1209055 to your computer and use it in GitHub Desktop.
Save optedoblivion/1209055 to your computer and use it in GitHub Desktop.
fucked-repo-sync
#!/bin/bash
source build/envsetup.sh
reposync `cat .repo/manifest.xml |grep github| awk '{ print $2 }'| grep -v "name=" | cut -d '"' -f 2| xargs`
reposync `cat .repo/local_manifest.xml |grep project|awk '{ print $2 }'|cut -d '"' -f 2|xargs`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment