From: Martin Liska Date: Fri, 28 Apr 2023 14:41:19 +0000 (+0200) Subject: contrib: port doxygen script to Python3 X-Git-Tag: basepoints/gcc-15~9800 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db7e7776b0f5ac2a0e803b197f7b2b8a35f14d8a;p=thirdparty%2Fgcc.git contrib: port doxygen script to Python3 contrib/ChangeLog: * filter_gcc_for_doxygen: Use python3 and not python2. * filter_params.py: Likewise. --- diff --git a/contrib/filter_gcc_for_doxygen b/contrib/filter_gcc_for_doxygen index d1109a50c88f..d3670604b017 100755 --- a/contrib/filter_gcc_for_doxygen +++ b/contrib/filter_gcc_for_doxygen @@ -8,5 +8,5 @@ # process is put on stdout. dir=`dirname $0` -python $dir/filter_params.py $1 +env python3 $dir/filter_params.py $1 exit 0 diff --git a/contrib/filter_params.py b/contrib/filter_params.py index a82a8d5728cd..359d28b07d2f 100644 --- a/contrib/filter_params.py +++ b/contrib/filter_params.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 """ Filters out some of the #defines used throughout the GCC sources: - GTY(()) marks declarations for gengtype.c