Skip to content

Commit

Permalink
utils(module_synopsis): Disable SC2016 when single-quoting $GISBASE i…
Browse files Browse the repository at this point in the history
…n messages
  • Loading branch information
echoix committed Mar 30, 2024
1 parent 556efc7 commit cfd93f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/module_synopsis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ if ! TMP="$(g.tempfile pid=$$)" || [ -z "$TMP" ]; then
exit 1
fi

# shellcheck disable=SC2016 # Expressions don't expand in single quotes.
g.message 'Generating module synopsis (writing to $GISBASE/etc/) ...'

SYNOP="$GISBASE/etc/module_synopsis.txt"
Expand Down Expand Up @@ -186,6 +187,7 @@ cp "$SYNOP" "${TMP}.txt"
####### create HTML source #######
# poor cousin to full_index.html from build_html_index.sh
# todo $MODULE.html links
# shellcheck disable=SC2016 # Expressions don't expand in single quotes.
g.message 'Generating HTML (writing to $GISBASE/docs/html/) ...'

#### write header
Expand Down Expand Up @@ -336,6 +338,7 @@ EOF
\mv "${TMP}.html" "$GISBASE/docs/html/module_synopsis.html"

####### create LaTeX source #######
# shellcheck disable=SC2016 # Expressions don't expand in single quotes.
g.message 'Generating LaTeX source (writing to $GISBASE/etc/) ...'

#### write header
Expand Down Expand Up @@ -480,6 +483,7 @@ EOF
# fix: *.univar.sh, r.surf.idw2, v.to.rast3, r.out.ppm3, others..
#####

# shellcheck disable=SC2016 # Expressions don't expand in single quotes.
g.message 'Converting LaTeX to PDF (writing to $GISBASE/docs/pdf/) ...'

# shellcheck disable=SC2043
Expand Down

0 comments on commit cfd93f6

Please sign in to comment.