diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-15 02:38:25 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-07-20 08:09:04 +0700 |
commit | 44003f4e92fbbba452eeec9b9855a24482064217 (patch) | |
tree | 584f00c149e59c5f1bb750b35e95ec318d731921 /development/textadept | |
parent | b1a0342f284e48c39c52433976870206b2f97689 (diff) |
development/textadept: Replaced backtick cmdsub.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/textadept')
-rw-r--r-- | development/textadept/textadept.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/development/textadept/textadept.SlackBuild b/development/textadept/textadept.SlackBuild index 54486a6eeda2b..40c8c71f9ed9d 100644 --- a/development/textadept/textadept.SlackBuild +++ b/development/textadept/textadept.SlackBuild @@ -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 |