#!/bin/bash REV=unknown which git > /dev/null 2>&1 && REV=`git describe --always --dirty` echo -n $REV