#!/bin/bash # This script bsed on a template from the Fedora Project wiki # https://fedoraproject.org/wiki/Packaging/SugarActivityGuidelines # # sugar-xomail-checkout.sh NAME=Xomail REPO_NAME=xomail VERSION=0.20090128 rm -rf $NAME-$VERSION git clone git://dev.laptop.org/activities/$REPO_NAME $NAME-$VERSION tar -cjvf $NAME-$VERSION.tar.bz2 $NAME-$VERSION --exclude=.git rm -rf $NAME-$VERSION