#3 Change location of pathfix.py
Opened 2 years ago by lbalhar. Modified 2 years ago
rpms/ lbalhar/mesos rawhide  into  rawhide

file modified
+1 -1
@@ -203,7 +203,7 @@ 

  # Some files got mangling shebang, we fix them after everything else is done

  for i in $(find %{buildroot} -type f -exec grep -Iq . {} \; -print);do

      for j in $(grep -l '^#!/usr/bin/env bash' $i);do 

-         pathfix.py -pni "/usr/bin/bash" $j

+         %{__python3} %{_rpmconfigdir}/redhat/pathfix.py -pni "/usr/bin/bash" $j

      done

  done