]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
contrib: port doxygen script to Python3
authorMartin Liska <mliska@suse.cz>
Fri, 28 Apr 2023 14:41:19 +0000 (16:41 +0200)
committerMartin Liska <mliska@suse.cz>
Fri, 28 Apr 2023 14:42:17 +0000 (16:42 +0200)
contrib/ChangeLog:

* filter_gcc_for_doxygen: Use python3 and not python2.
* filter_params.py: Likewise.

contrib/filter_gcc_for_doxygen
contrib/filter_params.py

index d1109a50c88fd7304cde56df17854318bb3ae824..d3670604b0170610195d9e70952eb73fb9e001bb 100755 (executable)
@@ -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
index a82a8d5728cdb3b282ec80e2c5fb991c1de19702..359d28b07d2ff2cce03250e9615e9c174f751ebf 100644 (file)
@@ -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