Add comment to Jenkins build variables

One of the values is separated by two spaces. Adding a comment will
prevent any accidental fixes to this comparison operation.
This commit is contained in:
Markus Mäkelä
2017-03-09 10:11:38 +02:00
parent 415001a4cd
commit b53ef249f9

View File

@ -1368,6 +1368,8 @@ int main(int argc, char **argv)
case 'V':
rc = EXIT_SUCCESS;
printf("MaxScale %s - %s\n", MAXSCALE_VERSION, maxscale_commit);
// MAXSCALE_SOURCE is two values separated by a space, see CMakeLists.txt
if (strcmp(MAXSCALE_SOURCE, " ") != 0)
{
printf("Source: %s\n", MAXSCALE_SOURCE);