meson: Fix typo, lower() -> to_lower()
authorNirbheek Chauhan <nirbheek@centricular.com>
Sat, 21 Apr 2018 07:29:04 +0000 (12:59 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Sat, 21 Apr 2018 07:29:04 +0000 (12:59 +0530)
meson.build

index 5ad62e4..82f7e34 100644 (file)
@@ -21,7 +21,7 @@ cc = meson.get_compiler('c')
 if not meson.is_subproject() and cc.get_id() == 'msvc'
   uname = find_program('uname')
   ret = run_command(uname, '-o')
-  if ret.returncode() == 0 and ret.stdout().lower() == 'msys'
+  if ret.returncode() == 0 and ret.stdout().to_lower() == 'msys'
     ret = run_command(uname, '-r')
     # The kernel version returned by uname is actually the msys version
     if ret.returncode() == 0 and ret.stdout().startswith('2')