Fix hgrevision for out-of-tree builds

stable-5.1
Günther Brammer 2010-07-30 22:39:25 +02:00
parent fbdc799ae5
commit b3a3f68ea6
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#!/bin/sh
cd `dirname $0`
echo "#ifndef OC_HG_REVISION"
echo "#define OC_HG_REVISION \"`hg id --id`\""
echo "#endif"