188a34e
From a4f19b8aecb57f3cee5de4bdc463bf01f6493def Mon Sep 17 00:00:00 2001
188a34e
From: Vojtech Trefny <vtrefny@redhat.com>
188a34e
Date: Mon, 9 Jul 2018 14:02:00 +0200
188a34e
Subject: [PATCH] Use versioned command for Python 2
188a34e
188a34e
---
188a34e
 src/python/gi/overrides/Makefile.am | 2 +-
188a34e
 1 file changed, 1 insertion(+), 1 deletion(-)
188a34e
188a34e
diff --git a/src/python/gi/overrides/Makefile.am b/src/python/gi/overrides/Makefile.am
188a34e
index be3307c..befa43a 100644
188a34e
--- a/src/python/gi/overrides/Makefile.am
188a34e
+++ b/src/python/gi/overrides/Makefile.am
188a34e
@@ -1,5 +1,5 @@
188a34e
 if WITH_PYTHON2
188a34e
-pylibdir = $(shell python -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='${exec_prefix}'))")
188a34e
+pylibdir = $(shell python2 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='${exec_prefix}'))")
188a34e
 
188a34e
 overridesdir = $(pylibdir)/gi/overrides
188a34e
 dist_overrides_DATA = BlockDev.py
188a34e
-- 
188a34e
1.8.3.1
188a34e