create src dir if not present. Needed for git-revision.h

This commit is contained in:
suter_a 2025-06-03 12:58:00 +02:00
parent 15c5b02c8b
commit 7df47a05f3

View File

@ -2,6 +2,7 @@
echo "-- Generating header for git hash"
GIT_HEADER="src/git-revision.h"
[ -d src ] || mkdir src
GIT_BRANCH=`git rev-parse --abbrev-ref HEAD`