From d940d170caf2132abbf3abd3b657c910c5e2916d Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Sep 24 2018 20:50:19 +0000 Subject: Mangle shebangs in files ending in .py --- diff --git a/kernel-tools.spec b/kernel-tools.spec index 37beec1..e216f2d 100644 --- a/kernel-tools.spec +++ b/kernel-tools.spec @@ -208,7 +208,7 @@ cd linux-%{kversion} # -p preserves timestamps # -n prevents creating ~backup files # -i specifies the interpreter for the shebang -pathfix.py -pni "%{__python3} %{py3_shbang_opts}" tools/ +pathfix.py -pni "%{__python3} %{py3_shbang_opts}" tools/ tools/perf/scripts/python/*.py cp -a tools/perf tools/python3-perf