diff options
Diffstat (limited to 'convert_md_to_asciidoc.sh')
-rwxr-xr-x | convert_md_to_asciidoc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/convert_md_to_asciidoc.sh b/convert_md_to_asciidoc.sh index bec8985..79b6442 100755 --- a/convert_md_to_asciidoc.sh +++ b/convert_md_to_asciidoc.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash for markdown in ./mds/*.md; do - name=$(basename -s ".md" ${markdown}) - pandoc -t asciidoc -f markdown ${markdown} > ./mds/${name}.txt + name=$(basename -s ".md" "${markdown}") + pandoc -t asciidoc -f markdown "${markdown}" > ./mds/"${name}".txt done |