Skip to content

Commit d1b4a18

Browse files
committed
fix cython call
1 parent f7be71b commit d1b4a18

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/generate_cython.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ fi
99

1010
generate_cython()
1111
{
12-
python -m cython -I "$curdir" --cplus "$linetrace_flag" "$curdir"/"$1".pyx -o "$curdir"/"$1".cxx || exit 1
12+
# shellcheck disable=SC2086 # linetrace_flag is intentionally unquoted so it expands to no args when empty
13+
python -m cython -I "$curdir" --cplus $linetrace_flag "$curdir"/"$1".pyx -o "$curdir"/"$1".cxx || exit 1
1314
echo "Generated $curdir/$1.cxx"
1415
}
1516

0 commit comments

Comments
 (0)