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

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


    Date: Monday, September 23, 2019 @ 19:20:58
  Author: andyrtr
Revision: 363294

fix quoting

Modified:
  getmail/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-23 19:19:42 UTC (rev 363293)
+++ PKGBUILD	2019-09-23 19:20:58 UTC (rev 363294)
@@ -15,7 +15,7 @@
 sha256sums=('f3a99fe74564237d12ca8d4582e113c067c9205b5ab640f72b4e8447606a99c1')
 
 prepare() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}"-${pkgver}
   # fix broken shebang calls
   sed -i -e "s|#![ ]*/usr/bin/env python|#!/usr/bin/env python2|" getmailcore/__init__.py
   sed -i -e "s|#![ ]*/usr/bin/env python2.3|#!/usr/bin/env python2|" $(find . -name '*.py')
@@ -24,11 +24,11 @@
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}"-${pkgver}
   python2 setup.py build
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  python2 setup.py install --root=${pkgdir}
+  cd "${pkgname}"-${pkgver}
+  python2 setup.py install --root="${pkgdir}"
 }


More information about the arch-commits mailing list