set-remote-url.sh 658 Bytes
Newer Older
Vincent Wei's avatar
Vincent Wei committed
1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash

if [ ! -f myconfig.sh ]; then
    cp config.sh myconfig.sh
fi

source myconfig.sh

# GVFB
cd gvfb; git remote set-url origin $REPO_URL/gvfb.git; cd ..

# The third-party libraries
13
for comp in chipmunk; do
Vincent Wei's avatar
Vincent Wei committed
14 15 16 17 18 19 20 21 22 23 24 25 26
    cd 3rd-party/$comp; git remote set-url origin $REPO_URL/$comp.git; cd ../..
done

# MiniGUI, MiniGUI components and samples
for comp in minigui-res minigui mgutils mgplus mgeff mgncs mgncs4touch mg-tests mg-samples mg-demos; do
    cd $comp; git remote set-url origin $REPO_URL/$comp.git; cd ..
done

# Tools and demos
for comp in mg-tools cell-phone-ux-demo; do
    cd $comp; git remote set-url origin $REPO_URL/$comp.git; cd ..
done