+WWWNAME=mainline
+LOCK=~/all-modules.run
+# make sure the cyclic tasks do not interfere with manual usage
+# (i.e. do not use ~/modules)
+WORKDIR_GIT=${HOME}/all-modules-git
+########## sample config running on liquid
+#svnpath=http://svn.planet-lab.org/svn/
+#gitserver=git.onelab.eu
+#gituser=root
+#build=build
+#username=not-needed-as-we-dont-write
+#email=not-needed-as-we-dont-write
+##########
+
+function do_update() {
+ build_dir=$1; shift
+ if [ -f $build_dir/auto-update.sh ] ; then
+ $build_dir/auto-update.sh
+ elif [ -d $build_dir/.git ] ; then
+ ( cd $build_dir; git pull > .update.log 2>&1 )
+ else
+ ( cd $build_dir; svn update > .update.log 2>&1 )
+ fi
+}