Fix sed usage

This commit is contained in:
Andrey Bondrov 2017-02-16 22:53:21 +10:00
parent 49506d318d
commit a1f1de390f

View file

@ -262,7 +262,7 @@ cp test/simple-agent %{buildroot}%{_bindir}/simple-agent
rm %{buildroot}%{_sysconfdir}/udev/rules.d/*.rules rm %{buildroot}%{_sysconfdir}/udev/rules.d/*.rules
install -p -m644 tools/hid2hci.rules -D %{buildroot}/lib/udev/rules.d/97-hid2hci.rules install -p -m644 tools/hid2hci.rules -D %{buildroot}/lib/udev/rules.d/97-hid2hci.rules
install -m644 %{SOURCE5} -D %{buildroot}%{_udevrulesdir}/97-bluetooth.rules install -m644 %{SOURCE5} -D %{buildroot}%{_udevrulesdir}/97-bluetooth.rules
sed -s,"/usr/bin/bluetoothd","%{_libexecdir}/bluetooth/bluetoothd",g %{buildroot}%{_udevrulesdir}/97-bluetooth.rules sed s,"/usr/bin/bluetoothd","%{_libexecdir}/bluetooth/bluetoothd",g -i %{buildroot}%{_udevrulesdir}/97-bluetooth.rules
#install more config files #install more config files
install -m0644 profiles/network/network.conf %{buildroot}%{_sysconfdir}/bluetooth/ install -m0644 profiles/network/network.conf %{buildroot}%{_sysconfdir}/bluetooth/