put the shebangs back to /usr/bin/env and hardcode them to python3 in the rpm specfile (debian tbc)
This commit is contained in:
parent
42462b2379
commit
e9f2f98698
4 changed files with 7 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python
|
||||
|
||||
import serial
|
||||
import serial.tools.list_ports
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python
|
||||
|
||||
"""
|
||||
Arduino-mk Makefile and project initialiser
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python
|
||||
|
||||
# This script sends a program on a robotis board (OpenCM9.04 or CM900)
|
||||
# using the robotis bootloader (used in OpenCM IDE)
|
||||
|
|
|
@ -28,6 +28,7 @@ mkdir -p %{buildroot}/%{_datadir}/arduino
|
|||
mkdir -p %{buildroot}/%{_bindir}
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||
mkdir -p %{buildroot}/%{_docdir}/%{name}/examples
|
||||
sed -i 's/^#!\/usr\/bin\/env python/#!\/usr\/bin\/python3/' bin/*
|
||||
install -m 755 -d %{buildroot}/%{_docdir}/%{name}
|
||||
install -m 755 -d %{buildroot}/%{_docdir}/%{name}/examples
|
||||
for dir in `find examples -type d` ; do install -m 755 -d %{buildroot}/%{_docdir}/%{name}/$dir ; done
|
||||
|
@ -59,6 +60,8 @@ rm -rf %{buildroot}
|
|||
%{_docdir}/%{name}/examples
|
||||
|
||||
%changelog
|
||||
* Wed Jan 22 2020 Simon John <git@the-jedi.co.uk>
|
||||
- Added sed for shebang
|
||||
* Thu Oct 24 2019 Simon John <git@the-jedi.co.uk>
|
||||
- Removed BuildRequires
|
||||
* Thu Oct 05 2017 Simon John <git@the-jedi.co.uk>
|
||||
|
|
Loading…
Add table
Reference in a new issue