Skip to content

Commit

Permalink
name-parser: Specify python version
Browse files Browse the repository at this point in the history
[why]
Sometimes scripts can not be run.

[how]
Depending on installed python versions and 'alternatives' setup the
script's shebang needs to point to python3 of course.

Also the files need the executable bit set.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
  • Loading branch information
Finii committed Aug 20, 2022
1 parent b06bbc2 commit 6720e97
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bin/scripts/name_parser/name_parser_test1
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# coding=utf8

import sys
Expand Down
2 changes: 1 addition & 1 deletion bin/scripts/name_parser/name_parser_test2
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# coding=utf8

import sys
Expand Down
2 changes: 1 addition & 1 deletion bin/scripts/name_parser/query_names
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# coding=utf8

import sys
Expand Down
2 changes: 1 addition & 1 deletion bin/scripts/name_parser/query_panose
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# coding=utf8

import fontforge
Expand Down
2 changes: 1 addition & 1 deletion bin/scripts/name_parser/query_sftn
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# coding=utf8

import fontforge
Expand Down
2 changes: 1 addition & 1 deletion bin/scripts/name_parser/query_version
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# coding=utf8

import fontforge
Expand Down

0 comments on commit 6720e97

Please sign in to comment.