[arch-commits] Commit in system-config-printer/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Wed Sep 25 17:32:30 UTC 2019


    Date: Wednesday, September 25, 2019 @ 17:32:29
  Author: andyrtr
Revision: 363394

fix quoting

Modified:
  system-config-printer/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-25 17:30:12 UTC (rev 363393)
+++ PKGBUILD	2019-09-25 17:32:29 UTC (rev 363394)
@@ -35,18 +35,18 @@
 
 package() {
   cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 
   # Compile *.pyc
-  find "${pkgdir}" -name '*.py' -exec python -mpy_compile {} +
+  find "$pkgdir" -name '*.py' -exec python -mpy_compile {} +
   # Compile *.pyo
-  find "${pkgdir}" -name '*.py' -exec python -O -mpy_compile {} +
+  find "$pkgdir" -name '*.py' -exec python -O -mpy_compile {} +
   
   # new cups 2.0.0 service naming
-  sed -i "s|cups.socket|org.cups.cupsd.socket|g" ${pkgdir}/usr/lib/systemd/system/configure-printer at .service
+  sed -i "s|cups.socket|org.cups.cupsd.socket|g" "$pkgdir"/usr/lib/systemd/system/configure-printer at .service
 
   # fix dbus policy location - --with-dbusdir doens't work
-  install -dm755 ${pkgdir}/usr/share/dbus-1/system.d
-  mv ${pkgdir}/etc/dbus-1/system.d/* ${pkgdir}/usr/share/dbus-1/system.d
-  rm -rf ${pkgdir}/etc/dbus-1
+  install -dm755 "$pkgdir"/usr/share/dbus-1/system.d
+  mv "$pkgdir"/etc/dbus-1/system.d/* "$pkgdir"/usr/share/dbus-1/system.d
+  rm -rf "$pkgdir"/etc/dbus-1
 }



More information about the arch-commits mailing list