Date: Saturday, September 21, 2019 @ 08:17:34
  Author: arojas
Revision: 363188

Fix quoting

Modified:
  hunspell-ro/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-09-21 08:16:53 UTC (rev 363187)
+++ PKGBUILD    2019-09-21 08:17:34 UTC (rev 363188)
@@ -13,16 +13,15 @@
 
sha512sums=('192d53fc087fb96306c46092a2b5cac9c28528f741c686d3b5e80c11c7bfdd16e1e406cfc1c32a99d72e2db01722e539b28c716379f38a3703e6954c8f9f2170')
 
 package() {
-  cd "$srcdir"
-  install -dm755 $pkgdir/usr/share/hunspell
+  install -dm755 "$pkgdir"/usr/share/hunspell
 
   install -D -m644 ro_RO.dic "$pkgdir/usr/share/hunspell/ro_RO.dic"
   install -D -m644 ro_RO.aff "$pkgdir/usr/share/hunspell/ro_RO.aff"
 
  # the symlinks
-  install -dm755 $pkgdir/usr/share/myspell/dicts
-  pushd $pkgdir/usr/share/myspell/dicts
-    for file in $pkgdir/usr/share/hunspell/*; do
+  install -dm755 "$pkgdir"/usr/share/myspell/dicts
+  pushd "$pkgdir"/usr/share/myspell/dicts
+    for file in "$pkgdir"/usr/share/hunspell/*; do
       ln -sv /usr/share/hunspell/$(basename $file) .
     done
   popd

Reply via email to