fix gpsfake to load python gps module

Related: #2182490
This commit is contained in:
Miroslav Lichvar 2023-08-08 10:17:27 +02:00
parent cf1fd0753f
commit 72a63b1211
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ sed -i ':a;$!{N;ba};s|\(\.SH "[^"]*"\)|.SH "NOTE"\n%{note1}\n%{note2}\n\1|3' \
# add path to the private python gps module
sed -i 's|\( *\)\(import gps\)$|\1sys.path.insert(1, "%{_libdir}/gpsd%{version}")\n\1\2|' \
clients/*.py.in
*.py.in clients/*.py.in
# don't try reloading systemd when installing in the build root
sed -i 's|systemctl daemon-reload|true|' SConscript