Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates-src > by-pkgid > caf084e39b32ca847c5adc1a66f43e34 > files > 1

eclipse-linuxprofilingframework-0.6.1-1.fc14.src.rpm

#!/bin/sh
usage="usage: $0 <tag>"
name=eclipse-linuxprofilingframework
tag=$1
tar_name=$name-fetched-src-$tag

if [ "x${tag}"x = "xx" ]; then
   echo >&2 ${usage}
   exit 1
fi

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

svn export http://dev.eclipse.org/svnroot/technology/org.eclipse.linuxtools/profiling/tags/$tag/
mv $tag/* .
rmdir $tag

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