view upreckon/publish.sh @ 155:f8041e1e4d0d

win32 now includes its App-Path-aware Popen wrapper in its __all__ App Paths are now checked when launching output validators.
author Oleg Oshmyan <chortos@inbox.lv>
date Sat, 04 Jun 2011 00:14:16 +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