[arch-commits] Commit in cups-filters/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Mon Sep 23 18:59:24 UTC 2019


    Date: Monday, September 23, 2019 @ 18:59:24
  Author: andyrtr
Revision: 363287

fix quoting

Modified:
  cups-filters/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-23 18:55:43 UTC (rev 363286)
+++ PKGBUILD	2019-09-23 18:59:24 UTC (rev 363287)
@@ -19,7 +19,7 @@
 sha256sums=('b6e80020aef4fd2ad62674cfde1d68ebadd56ca170293fcba023d4628bef3c1f')
 
 build() {
-  cd $pkgname-$pkgver
+  cd "$pkgname"-$pkgver
   ./configure --prefix=/usr  \
     --sysconfdir=/etc \
     --sbindir=/usr/bin \
@@ -33,21 +33,21 @@
 }
 
 check() {
-  cd $pkgname-$pkgver
+  cd "$pkgname"-$pkgver
   make check
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd "$pkgname"-$pkgver
   make DESTDIR="$pkgdir/" install
   
   # add upstream systemd support file
-  install -Dm644 utils/cups-browsed.service ${pkgdir}/usr/lib/systemd/system/cups-browsed.service
-  sed -i "s|/usr/sbin/cups-browsed|/usr/bin/cups-browsed|" ${pkgdir}/usr/lib/systemd/system/cups-browsed.service
-  sed -i "s|cups.service|org.cups.cupsd.service|g" ${pkgdir}/usr/lib/systemd/system/cups-browsed.service
+  install -Dm644 utils/cups-browsed.service "${pkgdir}"/usr/lib/systemd/system/cups-browsed.service
+  sed -i "s|/usr/sbin/cups-browsed|/usr/bin/cups-browsed|" "${pkgdir}"/usr/lib/systemd/system/cups-browsed.service
+  sed -i "s|cups.service|org.cups.cupsd.service|g" "${pkgdir}"/usr/lib/systemd/system/cups-browsed.service
   
   # use cups group from cups pkg FS#56818
-  chgrp -R 209 ${pkgdir}/etc/cups
+  chgrp -R 209 "${pkgdir}"/etc/cups
 
   # license
   mkdir -p "${pkgdir}"/usr/share/licenses/${pkgname}



More information about the arch-commits mailing list