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

Andreas Radke andyrtr at archlinux.org
Mon Sep 23 19:02:42 UTC 2019


    Date: Monday, September 23, 2019 @ 19:02:42
  Author: andyrtr
Revision: 363289

fix quoting

Modified:
  cups-pk-helper/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-23 19:01:04 UTC (rev 363288)
+++ PKGBUILD	2019-09-23 19:02:42 UTC (rev 363289)
@@ -13,7 +13,7 @@
 sha256sums=('959af8f2f5a2761e7e498b61c9caf25ae963335031eae9972d999e9a0d97a228')
 
 build() {
-  cd $pkgname-$pkgver
+  cd "$pkgname"-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc \
     --libexecdir=/usr/lib/cups-pk-helper
   make
@@ -20,11 +20,11 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd "$pkgname"-$pkgver
   make DESTDIR="$pkgdir" install
 
   # 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