From 83c813b8c32d4666c532e6622c6e2deb4772dc8e Mon Sep 17 00:00:00 2001 From: Lukas Bulwahn <lukas.bulwahn@bmw-carit.de> Date: Mon, 4 Feb 2013 17:08:26 +0100 Subject: [PATCH] removing all roscpp_core packages from the created ros source archive --- mk_srcarchive.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mk_srcarchive.sh b/mk_srcarchive.sh index 9db790c..df93a9b 100644 --- a/mk_srcarchive.sh +++ b/mk_srcarchive.sh @@ -1,5 +1,8 @@ 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 +grep -e "- tar: {local-name: .*, uri: '.*'," ros_comm | \ +grep -v "catkin" | grep -v "cpp_common" | grep -v "rostime" | grep -v "roscpp_serialization" | grep -v "roscpp_traits" | \ +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 + -- GitLab