Skip to content

makefile: properly escape '$' in VERSION_STRING

Kevin requested to merge kdaudt/gitlab-shell:fix-makefile-version-string into main

If git is not available or gitlab-shell is not built in a repository, it falls back the VERSION file. That command is not properly escaped and results in the message:

awk: cmd. line:1: Unexpected token

When you remove the 2>/dev/null. Escape the '$' characters to solve this.

Edited by Kevin

Merge request reports