patchelfcrc/doxygen/gen-version-string.sh

8 lines
115 B
Bash
Executable File

#!/bin/bash
if [[ -z $1 ]]; then
exit -1
fi
echo "PROJECT_NUMBER = `git describe --tags --always --dirty`" > $1