#!/usr/bin/env php
<?php



echo "Fetching fresh courses from server…";
$return = shell_exec ( "git submodule update --init --recursive");
echo $return;
$return = shell_exec ( "git submodule foreach git checkout master");
echo $return;
$return = shell_exec ( "git submodule foreach git pull origin master");
echo $return;

echo "Done!";
