note duplicated gitrev build process

This commit is contained in:
2024-09-13 18:18:10 -05:00
committed by Celtic Minstrel
parent 8c4a6a2e5e
commit fed420d1f5
2 changed files with 3 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
#!/bin/bash
# Usage: gitrev.sh path-to-src
# This script generates the header with git revision information
# NOTE: Changes made here must also be made in SConstruct!
REVID=`git rev-parse HEAD`;
export FULLTAG=`git tag --sort=v:refname | tail -n1`;
TAGREV=`git rev-parse $FULLTAG`;