Date: Friday, August 28, 2020 @ 12:43:33 Author: freswa Revision: 690761
fix unquoted variables Modified: mythes-nl/trunk/PKGBUILD ----------+ PKGBUILD | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-08-28 12:43:16 UTC (rev 690760) +++ PKGBUILD 2020-08-28 12:43:33 UTC (rev 690761) @@ -12,32 +12,31 @@ md5sums=('e504ed707a6672d9f56300abf0420a20') package() { - cd "${srcdir}" install -dm755 "${pkgdir}"/usr/share/mythes install -m644 th_nl_v2.dat "${pkgdir}/usr/share/mythes/th_nl_NL_v2.dat" install -m644 th_nl_v2.idx "${pkgdir}/usr/share/mythes/th_nl_NL_v2.idx" - pushd "${pkgdir}/usr/share/mythes/" + pushd "${pkgdir}"/usr/share/mythes/ nl_NL_aliases="nl_AW nl_BE" - for lang in $nl_NL_aliases; do - ln -s th_nl_NL_v2.dat "th_"$lang"_v2.dat" - ln -s th_nl_NL_v2.idx "th_"$lang"_v2.idx" + for lang in ${nl_NL_aliases}; do + ln -s th_nl_NL_v2.dat th_"${lang}"_v2.dat + ln -s th_nl_NL_v2.idx th_"${lang}"_v2.idx done popd # the symlinks - 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) . + 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}" - install -m644 README_th_nl.txt "${pkgdir}/usr/share/doc/${pkgname}" + install -dm755 "${pkgdir}"/usr/share/doc/${pkgname} + install -m644 README_th_nl.txt "${pkgdir}"/usr/share/doc/${pkgname} # licences - install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" - ln -s ../../doc/${pkgname}/README_th_nl.txt $pkgdir/usr/share/licenses/$pkgname/README_th_nl.txt + install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname} + ln -s ../../doc/${pkgname}/README_th_nl.txt "${pkgdir}"/usr/share/licenses/${pkgname}/README_th_nl.txt }