[libsoup] meson: Rename variable for better clarity



commit 5a7a3a2babcec658112ed9a6ea58aa4ea03ebb8e
Author: Tomas Popela <tpopela redhat com>
Date:   Mon Apr 16 15:24:40 2018 +0200

    meson: Rename variable for better clarity

 meson.build |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/meson.build b/meson.build
index 1acf6e3..17b6526 100644
--- a/meson.build
+++ b/meson.build
@@ -117,16 +117,16 @@ if apache_httpd2.found()
 endif
 
 if have_apache
-  apache_modules = run_command('get_apache_module_dirs.py', apache_httpd2.path())
-  if apache_modules.returncode() == 0
-    message('Apache module directory: ' + apache_modules.stdout().split(':')[0])
-    apache_module_dir = apache_modules.stdout().split(':')[0]
+  apache_module_dirs = run_command('get_apache_module_dirs.py', apache_httpd2.path())
+  if apache_module_dirs.returncode() == 0
+    message('Apache module directory: ' + apache_module_dirs.stdout().split(':')[0])
+    apache_module_dir = apache_module_dirs.stdout().split(':')[0]
     cdata.set('APACHE_MODULE_DIR', apache_module_dir)
-    apache_ssl_module_dir = apache_modules.stdout().split(':')[1]
+    apache_ssl_module_dir = apache_module_dirs.stdout().split(':')[1]
     cdata.set('APACHE_SSL_MODULE_DIR', apache_ssl_module_dir)
     have_apache = apache_module_dir != '' and apache_ssl_module_dir != ''
     cdata.set('HAVE_APACHE', have_apache)
-    cdata.set('APACHE_PHP_MODULE_DIR', apache_modules.stdout().split(':')[2])
+    cdata.set('APACHE_PHP_MODULE_DIR', apache_module_dirs.stdout().split(':')[2])
   endif
 endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]