Skip to content

Instantly share code, notes, and snippets.

@varhub
Last active January 25, 2016 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save varhub/f011d855ec5dde1cb389 to your computer and use it in GitHub Desktop.
Save varhub/f011d855ec5dde1cb389 to your computer and use it in GitHub Desktop.
#!/bin/sh
#
# Copyright (c) 2016
# Author: Victor Arribas <v.arribas.urjc@gmail.com>
# License: GPLv3 <http://www.gnu.org/licenses/gpl-3.0.html>
## Download practices' container
wget -nc https://github.com/RoboticsURJC/JdeRobot-TeachingRobotics/archive/master.zip
unzip -q master.zip
base=JdeRobot-TeachingRobotics-master/src
## Gather develop environment
git clone https://github.com/jderobot-varribas/JdeRobot-sandbox.git -b debug/wrong-include-for-backward-compatibility JdeRobot4Students
sandbox=JdeRobot4Students/src
## Gather practices
find $base -maxdepth 1 -mindepth 1 -type d -exec cp -r {} $sandbox \;
## cleanup
rm -r JdeRobot-TeachingRobotics-master
rm master.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment