From c2645d0dffce3f93dba936d01e5b2331159c3bb9 Mon Sep 17 00:00:00 2001 From: Xorg Date: Wed, 8 Aug 2018 13:54:14 +0200 Subject: [PATCH] Force Python 2.7 in all Python scripts /usr/bin/python is Python 3.7 on Arch Linux, so it doesn't work --- libcpuid/check-consistency.py | 2 +- tests/create_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libcpuid/check-consistency.py b/libcpuid/check-consistency.py index 11d05d0..86fe3b9 100755 --- a/libcpuid/check-consistency.py +++ b/libcpuid/check-consistency.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2.7 import os, sys, re, glob diff --git a/tests/create_test.py b/tests/create_test.py index 96e5e17..e6c05bc 100755 --- a/tests/create_test.py +++ b/tests/create_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2.7 import os, sys, re