Change shebangs

This commit is contained in:
Miro Hrončok 2015-02-21 21:25:24 +01:00 committed by Garrett Holmstrom
parent ec4b2b3606
commit 4d2d775a12

View File

@ -101,6 +101,10 @@ ssh keys and to let the user run various scripts.
%prep %prep
%autosetup -p1 -n %{name}-%{version}-bzr1060 %autosetup -p1 -n %{name}-%{version}-bzr1060
# Change shebangs
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
-e 's|#!/usr/bin/python|#!/usr/bin/python3|' tools/* cloudinit/ssh_util.py
cp -p %{SOURCE2} README.fedora cp -p %{SOURCE2} README.fedora