preliminary script for creating the src.tar.gz

This commit is contained in:
Lukas Bulwahn 2013-01-11 10:42:39 +01:00
parent 2c8274b74f
commit 0ea12a38db
1 changed files with 5 additions and 0 deletions

5
mk_srcarchive.sh Normal file
View File

@ -0,0 +1,5 @@
wget -O ros_comm http://packages.ros.org/web/rosinstall/generate/raw/groovy/ros_comm
mkdir -p archives
grep -e "- tar: {local-name: .*, uri: '.*'," ros_comm | sed "s#- tar: {local-name: \(.*\), uri: '\(.*\)',#wget -O archives/\1.tar.gz \2 \&\& mkdir -p src/\1 \&\& tar --strip-components=1 -xzf archives/\1.tar.gz -C src/\1/ #" | sh
tar -czf src.tar.gz src