Blame SOURCES/freeradius-python2-shebangs.patch

33c701
From b8a6ac05977845851f02151ca35c3a51e88bd534 Mon Sep 17 00:00:00 2001
33c701
From: Alexander Scheel <ascheel@redhat.com>
33c701
Date: Thu, 18 Oct 2018 12:40:53 -0400
33c701
Subject: [PATCH] Clarify shebangs to be python2
33c701
33c701
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
33c701
---
33c701
 scripts/radtee                         | 2 +-
33c701
 src/modules/rlm_python/example.py      | 2 +-
33c701
 src/modules/rlm_python/prepaid.py      | 2 +-
33c701
 src/modules/rlm_python/radiusd.py      | 2 +-
33c701
 src/modules/rlm_python/radiusd_test.py | 2 +-
33c701
 5 files changed, 5 insertions(+), 5 deletions(-)
33c701
33c701
diff --git a/scripts/radtee b/scripts/radtee
33c701
index 123769d244..78b4bcbe0b 100755
33c701
--- a/scripts/radtee
33c701
+++ b/scripts/radtee
33c701
@@ -1,4 +1,4 @@
33c701
-#!/usr/bin/env python
33c701
+#!/usr/bin/env python2
33c701
 from __future__ import with_statement 
33c701
 
33c701
 # RADIUS comparison tee v1.0
33c701
diff --git a/src/modules/rlm_python/example.py b/src/modules/rlm_python/example.py
33c701
index 5950a07678..eaf456e349 100644
33c701
--- a/src/modules/rlm_python/example.py
33c701
+++ b/src/modules/rlm_python/example.py
33c701
@@ -1,4 +1,4 @@
33c701
-#! /usr/bin/env python
33c701
+#! /usr/bin/env python2
33c701
 #
33c701
 # Python module example file
33c701
 # Miguel A.L. Paraz <mparaz@mparaz.com>
33c701
diff --git a/src/modules/rlm_python/prepaid.py b/src/modules/rlm_python/prepaid.py
33c701
index c3cbf57b8f..3b1dc2e2e8 100644
33c701
--- a/src/modules/rlm_python/prepaid.py
33c701
+++ b/src/modules/rlm_python/prepaid.py
33c701
@@ -1,4 +1,4 @@
33c701
-#! /usr/bin/env python
33c701
+#! /usr/bin/env python2
33c701
 #
33c701
 # Example Python module for prepaid usage using MySQL
33c701
 
33c701
diff --git a/src/modules/rlm_python/radiusd.py b/src/modules/rlm_python/radiusd.py
33c701
index c535bb3caf..7129923994 100644
33c701
--- a/src/modules/rlm_python/radiusd.py
33c701
+++ b/src/modules/rlm_python/radiusd.py
33c701
@@ -1,4 +1,4 @@
33c701
-#! /usr/bin/env python
33c701
+#! /usr/bin/env python2
33c701
 #
33c701
 # Definitions for RADIUS programs
33c701
 #
33c701
diff --git a/src/modules/rlm_python/radiusd_test.py b/src/modules/rlm_python/radiusd_test.py
33c701
index 13b7128b29..97b5b64f08 100644
33c701
--- a/src/modules/rlm_python/radiusd_test.py
33c701
+++ b/src/modules/rlm_python/radiusd_test.py
33c701
@@ -1,4 +1,4 @@
33c701
-#! /usr/bin/env python
33c701
+#! /usr/bin/env python2
33c701
 #
33c701
 # Python module test
33c701
 # Miguel A.L. Paraz <mparaz@mparaz.com>