Last active
January 25, 2016 18:12
-
-
Save varhub/f011d855ec5dde1cb389 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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