summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhsoting.net>2022-01-09 18:59:51 +0100
committerJörg Frings-Fürst <debian@jff-webhsoting.net>2022-01-09 18:59:51 +0100
commit592ab485a70ab4c8e4cefc37bbdfb76110f9205e (patch)
treecf0450fbe4f1bca6052f30bd66eef4c2cc839ada /doc
parentcb39f81ea1957f5fdd9b5b67d7d326091efd3d02 (diff)
New upstream version 0.9.6upstream/0.9.6
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/preprocess.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/preprocess.sh b/doc/preprocess.sh
index a663cd1..c77bb6a 100755
--- a/doc/preprocess.sh
+++ b/doc/preprocess.sh
@@ -1,3 +1,4 @@
-#! /bin/sh
+#! /usr/bin/env bash
# Run GCC preprocessor and delete empty lines
-cpp -DURI_DOXYGEN -DURI_NO_UNICODE -C -I ../include $1 | sed -e '/^$/d' -e 's/COMMENT_HACK//g'
+: ${CPP:=cpp}
+"${CPP}" -DURI_DOXYGEN -DURI_NO_UNICODE -C -I ../include "$1" | sed -e '/^$/d' -e 's/COMMENT_HACK//g'