Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > b6e5157c6338a5c4660067aba02b6db3 > files > 1

eclipse-callgraph-0.5.0-1.fc13.src.rpm

#!/bin/sh
usage='usage: $0 <tag>'
name=eclipse-callgraph
tag=$1
plugins=`echo org.eclipse.linuxtools.callgraph{,.core,.launch,-feature}`
tar_name=$name-fetched-src-$tag

fetch_cmd="svn export http://dev.eclipse.org/svnroot/technology/org.eclipse.linuxtools/systemtap/tags/$tag/"

rm -fr $tar_name && mkdir $tar_name
pushd $tar_name

# Fetch plugins
for plugin in $plugins; do
	$fetch_cmd$plugin
done

popd
# create archive
tar -cjf $tar_name.tar.bz2 $tar_name