Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit1fe1e2172486a483320e2b8bf5d60817d5693b4e (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-10-17 12:34:37 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-10-17 12:34:37 +0300
Files75eb490ad223a32e8656591b3d1f7d6926c19069
csg-1fe1e2172486a483320e2b8bf5d60817d5693b4e.tar
csg-1fe1e2172486a483320e2b8bf5d60817d5693b4e.tar.gz
csg-1fe1e2172486a483320e2b8bf5d60817d5693b4e.zip
Parentc2e945cb92262a7c95be57ab20fba85f1cfdc9d3 (diff)
(vars,s2) Fixed lowdown and csg-print errors due to single quotes
1 files changed, 3 insertions, 3 deletions
-rwxr-xr-xcsg6
diff --git a/csg b/csg
index 21e6daf..fdbec24 100755
--- a/csg
+++ b/csg
@@ -79,11 +79,11 @@ if [ -n "$CSG_MD_TO_HTML" ]
then :
elif isCommand 'lowdown'
then
- CSG_MD_TO_HTML='lowdown \
+ CSG_MD_TO_HTML="lowdown \
--html-no-escapehtml \
--html-no-skiphtml \
--parse-no-metadata \
- --parse-no-autolink'
+ --parse-no-autolink"
else
echo '[Error] Couldn'\''t find a Markdown to HTML convertion program!'
csg_help 1
@@ -209,7 +209,7 @@ transform-file() {
-v title="$title" \
-v description="$descr" \
-v words="$words" \
- $scr_libs $scripts -f '$CSG_TMP_DIR/csg-print.awk' \
+ $scr_libs $scripts -f "$CSG_TMP_DIR/csg-print.awk" \
"$outf" > "$outf.tmp"
mv "$outf.tmp" "$outf"