3
export PACK=compiz-plugins-main
4
export GITPACK=`echo ${PACK} | cut -b 8-`
5
export CURRENT_PLUGINS=`cat .gitmodules | grep "path =" | cut -b 9-`
7
echo "Removing all the plugins"
8
for CURRENT_PLUGIN in ${CURRENT_PLUGINS}; do
9
rm -rfv ${CURRENT_PLUGIN}
12
bzr commit -m "Sync - Remove Plugins"
13
echo "Syncing in changes from upstream - cloning " ${GITPACK}
14
git clone git://git.compiz.org/compiz/${GITPACK} ${PACK}-tmp
15
mv ${PACK}-tmp/.gitmodules .
19
PLUGINS=`cat .gitmodules | grep "path =" | cut -b 9-`
21
for PLUGIN in ${PLUGINS}; do
23
echo "Branching bzr plugin compiz-${PLUGIN}-plugin"
24
bzr branch lp:~compiz-team/compiz-${PLUGIN}-plugin/oneiric
32
bzr commit -m "Sync in changes from upstream"