[arch-commits] Commit in foomatic-db-engine/trunk (PKGBUILD)

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


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

fix quoting

Modified:
  foomatic-db-engine/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-23 19:18:26 UTC (rev 363292)
+++ PKGBUILD	2019-09-23 19:19:42 UTC (rev 363293)
@@ -17,7 +17,7 @@
 
 build() {
   export LIB_CUPS="/usr/lib/cups"
-  cd $pkgname-$pkgver
+  cd "$pkgname"-$pkgver
   PERL_INSTALLDIRS=vendor \
   ./configure --prefix=/usr \
     --sbindir=/usr/bin
@@ -25,15 +25,15 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DESTDIR=${pkgdir} install
+  cd "$pkgname"-$pkgver
+  make DESTDIR="${pkgdir}" install
 
   # preset default spooler
-  echo cups > ${pkgdir}/etc/foomatic/defaultspooler
+  echo cups > "${pkgdir}"/etc/foomatic/defaultspooler
   # add some docs
-  install -Dm644 USAGE ${pkgdir}/usr/share/doc/${pkgname}/USAGE
-  install -Dm644 README ${pkgdir}/usr/share/doc/${pkgname}/README
+  install -Dm644 USAGE "${pkgdir}"/usr/share/doc/${pkgname}/USAGE
+  install -Dm644 README "${pkgdir}"/usr/share/doc/${pkgname}/README
 
   # cleanup
-  rm -r ${pkgdir}/usr/lib/perl5
+  rm -r "${pkgdir}"/usr/lib/perl5
 }


More information about the arch-commits mailing list