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

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


    Date: Monday, September 23, 2019 @ 18:43:53
  Author: andyrtr
Revision: 363282

fix quoting

Modified:
  bogofilter/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-23 18:41:24 UTC (rev 363281)
+++ PKGBUILD	2019-09-23 18:43:53 UTC (rev 363282)
@@ -25,15 +25,15 @@
 # currently in Arch repos
 
 prepare() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}"-${pkgver}
   # taken from Gentoo
-  patch -Np1 -i $srcdir/bogofilter-1.2.4-test-env.patch
+  patch -Np1 -i "${srcdir}"/bogofilter-1.2.4-test-env.patch
   chmod +x src/tests/t.{ctype,leakfind,lexer.qpcr,lexer.eoh,message_id,queue_id}
   autoreconf -vfi
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}"-${pkgver}
   ./configure --prefix=/usr \
               --sysconfdir=/etc/bogofilter  \
               --localstatedir=/var \
@@ -43,12 +43,12 @@
 }
 
 check() {
-  cd $pkgname-$pkgver
+  cd "$pkgname"-$pkgver
   BF_RUN_VALGRIND=1 make -k -C src check || /bin/true
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}"-${pkgver}
   make DESTDIR="${pkgdir}" install
 
   mv "${pkgdir}/etc/bogofilter/bogofilter.cf.example" "${pkgdir}/etc/bogofilter/bogofilter.cf"



More information about the arch-commits mailing list