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

Andreas Radke andyrtr at archlinux.org
Wed Sep 25 16:40:16 UTC 2019


    Date: Wednesday, September 25, 2019 @ 16:40:15
  Author: andyrtr
Revision: 363384

fix quoting

Modified:
  mythes-en/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-25 16:39:12 UTC (rev 363383)
+++ PKGBUILD	2019-09-25 16:40:15 UTC (rev 363384)
@@ -14,10 +14,10 @@
 
 package() {
   cd "$srcdir"
-  install -dm755 ${pkgdir}/usr/share/mythes
-  cp -p th_en_US_v2.* $pkgdir/usr/share/mythes
+  install -dm755 "${pkgdir}"/usr/share/mythes
+  cp -p th_en_US_v2.* "$pkgdir"/usr/share/mythes
 
-  pushd $pkgdir/usr/share/mythes/
+  pushd "$pkgdir"/usr/share/mythes/
   en_US_aliases="en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_IE en_IN en_JM en_NA en_NG en_NZ en_PH en_SG en_TT en_ZA en_ZW"
   for lang in $en_US_aliases; do
         ln -s th_en_US_v2.idx "th_"$lang"_v2.idx"
@@ -26,14 +26,14 @@
   popd
 
   # the symlinks
-  install -dm755 ${pkgdir}/usr/share/myspell/dicts
-  pushd $pkgdir/usr/share/myspell/dicts
-    for file in $pkgdir/usr/share/mythes/*; do
+  install -dm755 "${pkgdir}"/usr/share/myspell/dicts
+  pushd "$pkgdir"/usr/share/myspell/dicts
+    for file in "$pkgdir"/usr/share/mythes/*; do
       ln -sv /usr/share/mythes/$(basename $file) .
     done
   popd
   
   # docs
-  install -dm755 ${pkgdir}/usr/share/doc/$pkgname
-  cp -p README_th_en_US_v2.txt $pkgdir/usr/share/doc/$pkgname
+  install -dm755 "${pkgdir}"/usr/share/doc/$pkgname
+  cp -p README_th_en_US_v2.txt "$pkgdir"/usr/share/doc/$pkgname
 }


More information about the arch-commits mailing list