Skip to content

Instantly share code, notes, and snippets.

@leesei
Created September 19, 2013 04:02
Show Gist options
  • Save leesei/6618949 to your computer and use it in GitHub Desktop.
Save leesei/6618949 to your computer and use it in GitHub Desktop.
#bash #git repo manifest of cm42semc is broken, pull bluetooth related repo to Android tree structure
#/bin/bash
REPOS_PREFIX="https://github.com"
REPOS=( \
"cm42semc/android_build" \
"cm42semc/android_external_bluetooth_bluedroid" \
"cm42semc/android_external_bluetooth_bluez" \
"cm42semc/android_external_bluetooth_glib" \
"cm42semc/android_external_bluetooth_hcidump" \
"cm42semc/android_frameworks_base" \
"cm42semc/android_packages_apps_Bluetooth" \
"cm42semc/android_packages_apps_Bluetooth_msm" \
"cm42semc/android_packages_apps_Settings" \
"cm42semc/android_packages_apps_Settings_msm" \
"cm42semc/android_system_bluetooth" \
"cm42semc/android_system_core" \
"cm42semc/android_system_netd" \
)
for repo in "${REPOS[@]}"; do
target=$(basename ${repo} | tr "_" "/")
echo "=> ${target}"
git clone ${REPOS_PREFIX}/${repo} ${target}
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment