f7cd8ec
diff -ur beakerlib-1.18.old/src/python/journal-compare.py beakerlib-1.18.new/src/python/journal-compare.py
f7cd8ec
--- beakerlib-1.18.old/src/python/journal-compare.py	2019-04-04 11:20:55.000000000 +0200
f7cd8ec
+++ beakerlib-1.18.new/src/python/journal-compare.py	2019-04-04 11:20:23.000000000 +0200
f7cd8ec
@@ -1,4 +1,4 @@
f7cd8ec
-#!/usr/bin/env python
f7cd8ec
+#!/usr/libexec/platform-python
f7cd8ec
 
f7cd8ec
 # Copyright (c) 2006 Red Hat, Inc. All rights reserved. This copyrighted material
f7cd8ec
 # is made available to anyone wishing to use, modify, copy, or
f7cd8ec
diff -ur beakerlib-1.18.old/src/python/journalling.py beakerlib-1.18.new/src/python/journalling.py
f7cd8ec
--- beakerlib-1.18.old/src/python/journalling.py	2019-04-04 11:20:55.000000000 +0200
f7cd8ec
+++ beakerlib-1.18.new/src/python/journalling.py	2019-04-04 11:20:27.000000000 +0200
f7cd8ec
@@ -1,4 +1,4 @@
f7cd8ec
-#!/usr/bin/env python
f7cd8ec
+#!/usr/libexec/platform-python
f7cd8ec
 
f7cd8ec
 # Authors:  Jakub Heger        <jheger@redhat.com>
f7cd8ec
 #           Dalibor Pospisil   <dapospis@redhat.com>
f7cd8ec
diff -ur beakerlib-1.18.old/src/python/rlMemAvg.py beakerlib-1.18.new/src/python/rlMemAvg.py
f7cd8ec
--- beakerlib-1.18.old/src/python/rlMemAvg.py	2019-04-04 11:20:55.000000000 +0200
f7cd8ec
+++ beakerlib-1.18.new/src/python/rlMemAvg.py	2019-04-04 11:20:30.000000000 +0200
f7cd8ec
@@ -1,4 +1,4 @@
f7cd8ec
-#!/usr/bin/env python
f7cd8ec
+#!/usr/libexec/platform-python
f7cd8ec
 
f7cd8ec
 # Authors:  Petr Muller     <pmuller@redhat.com>
f7cd8ec
 #
f7cd8ec
diff -ur beakerlib-1.18.old/src/python/rlMemPeak.py beakerlib-1.18.new/src/python/rlMemPeak.py
f7cd8ec
--- beakerlib-1.18.old/src/python/rlMemPeak.py	2019-04-04 11:20:55.000000000 +0200
f7cd8ec
+++ beakerlib-1.18.new/src/python/rlMemPeak.py	2019-04-04 11:20:33.000000000 +0200
f7cd8ec
@@ -1,4 +1,4 @@
f7cd8ec
-#!/usr/bin/env python
f7cd8ec
+#!/usr/libexec/platform-python
f7cd8ec
 
f7cd8ec
 # Authors:  Petr Muller     <pmuller@redhat.com>
f7cd8ec
 #
f7cd8ec
diff -ur beakerlib-1.18.old/src/python/testwatcher.py beakerlib-1.18.new/src/python/testwatcher.py
f7cd8ec
--- beakerlib-1.18.old/src/python/testwatcher.py	2019-04-04 11:20:55.000000000 +0200
f7cd8ec
+++ beakerlib-1.18.new/src/python/testwatcher.py	2019-04-04 11:20:36.000000000 +0200
f7cd8ec
@@ -1,4 +1,4 @@
f7cd8ec
-#!/usr/bin/env python
f7cd8ec
+#!/usr/libexec/platform-python
f7cd8ec
 #
f7cd8ec
 # Authors:  Jiri Jaburek    <jjaburek@redhat.com>
f7cd8ec
 #
f7cd8ec
diff -ur beakerlib-1.18.old/src/journal.sh beakerlib-1.18.new/src/journal.sh
f7cd8ec
--- beakerlib-1.18.old/src/journal.sh
f7cd8ec
+++ beakerlib-1.18.new/src/journal.sh
f7cd8ec
@@ -299,7 +299,7 @@ rlJournalEnd(){
f7cd8ec
 __INTERNAL_JournalXMLCreate() {
f7cd8ec
     local res=0
f7cd8ec
     [[ "$BEAKERLIB_JOURNAL" == "0" ]] || {
f7cd8ec
-      if which python &> /dev/null; then
f7cd8ec
+      if which /usr/libexec/platform-python &> /dev/null; then
f7cd8ec
         $__INTERNAL_JOURNALIST $__INTERNAL_XSLT --metafile \
f7cd8ec
           "$__INTERNAL_BEAKERLIB_METAFILE" --journal "$__INTERNAL_BEAKERLIB_JOURNAL"
f7cd8ec
         res=$?