view upreckon/publish.sh @ 160:93bf6b333c99 2.01

Some broken output validators on Win32 no longer get access-denied errors
author Oleg Oshmyan <chortos@inbox.lv>
date Fri, 10 Jun 2011 21:22:53 +0100
parents d5b6708c1955
children
line wrap: on
line source

#! /bin/sh

VERSION=`hg identify | awk '{ print $1 }'`
if [ -z "$VERSION" ]
then
	echo The current Mercurial changeset could not be determined. >&2
	exit 1
fi

sed 's/$$REV$\$/hg '"$VERSION/" upreckon-vcs >upreckon
chmod +x upreckon