chore: rename CLI version to NOGUI in the version tag

As CLI is already #defined, we couldn't stringify it properly
and we ended up with 1 in the version tag
This commit is contained in:
Stéphane Lesimple
2020-09-04 23:32:41 +02:00
parent 7091b5fbbe
commit dc53597e8e
3 changed files with 9 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ build=$(grep BUILDNUM $1 2>/dev/null | cut -d\ -f3)
build=$((build+1))
cat >$1 <<EOF
#ifdef CLI
#define FLAVOR CLI
#define FLAVOR NOGUI
#else
#define FLAVOR GUI
#endif