development/textadept: Replaced backtick cmdsub.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-07-15 02:38:25 -04:00 committed by Willy Sudiarto Raharjo
parent b1a0342f28
commit 44003f4e92
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -112,8 +112,8 @@ if [ -e /usr/bin/markdown-it ]; then
sed -i 's/markdown -f toc -T/markdown-it/;s/read\(..\)a/read\1*a/;s/:match.*ul.*//' $FILL_LAYOUT
pushd $PKG/usr/share/$PRGNAM/docs
for file in `ls *.md`; do
cat _layouts/default.html | $LUA $FILL_LAYOUT $file > `basename -s .md $file`.html
for file in $( ls *.md ); do
cat _layouts/default.html | $LUA $FILL_LAYOUT $file > $( basename -s .md $file ).html
done
rm _layouts/default.html
rmdir _layouts