#!/bin/sh commit=4efc7fc0a1246f023d6f96b94081678e302ab430 shortcommit=$(c=${commit}; echo ${c:0:7}) version=1.2.1+git echo -n "Creating _service file ..." cat << EOF > _service git://github.com/chazomaticus/asteroid.git git ${version}-${shortcommit} enable *.tar bz2 EOF echo done