Mercurial > ~astiob > upreckon > hgweb
view upreckon/publish.sh @ 154:eb0866a11ba1
_unix is no longer compiled on non-UNIX systems
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Fri, 03 Jun 2011 20:41:35 +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