[packages/cups-driver-brother-hll2350dw] avoid space expansion
glen
glen at pld-linux.org
Mon Jul 16 13:59:18 CEST 2018
commit d9433d6c714f7c31be887e9eaa6e4df79ef0859c
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Mon Jul 16 14:59:11 2018 +0300
avoid space expansion
cups-driver-brother-hll2350dw.spec | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/cups-driver-brother-hll2350dw.spec b/cups-driver-brother-hll2350dw.spec
index 55117c7..7eca319 100644
--- a/cups-driver-brother-hll2350dw.spec
+++ b/cups-driver-brother-hll2350dw.spec
@@ -29,8 +29,6 @@ CUPS driver for Brother HL-L2352DW.
rpm2cpio %{SOURCE0} | cpio -dimu
%patch0 -p1
-%build
-
%install
rm -rf $RPM_BUILD_ROOT
@@ -49,7 +47,7 @@ cp -p opt/brother/Printers/HLL2350DW/inf/brHLL2350DWrc $RPM_BUILD_ROOT/etc/opt/b
cp -p opt/brother/Printers/HLL2350DW/inf/brHLL2350DWfunc $RPM_BUILD_ROOT/etc/opt/brother/Printers/HLL2350DW/inf/brHLL2350DWfunc
echo '#!/bin/sh' > $RPM_BUILD_ROOT%{_bindir}/brprintconflsr3_HLL2350DW
-echo '%{_bindir}/brprintconflsr3 -P HLL2350DW $*' >> $RPM_BUILD_ROOT%{_bindir}/brprintconflsr3_HLL2350DW
+echo '%{_bindir}/brprintconflsr3 -P HLL2350DW "$@"' >> $RPM_BUILD_ROOT%{_bindir}/brprintconflsr3_HLL2350DW
chmod 755 $RPM_BUILD_ROOT%{_bindir}/brprintconflsr3_HLL2350DW
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cups-driver-brother-hll2350dw.git/commitdiff/d9433d6c714f7c31be887e9eaa6e4df79ef0859c
More information about the pld-cvs-commit
mailing list