diff options
Diffstat (limited to 'doc/preprocess.sh')
-rwxr-xr-x | doc/preprocess.sh | 5 |
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' |