mirror of https://github.com/GNOME/gimp.git
Fix Python execution with autocrlf on Windows
If the interp file contains CRLF, the \r is read as part of the executable file name, and gimp searches for python3.exe\r.
This commit is contained in:
parent
118c0c6734
commit
b134da1f39
|
@ -291,6 +291,7 @@ gimp_interpreter_db_add_program (GimpInterpreterDB *db,
|
|||
|
||||
name = buffer;
|
||||
program = p + 1;
|
||||
g_strchomp (program);
|
||||
|
||||
if (! g_file_test (program, G_FILE_TEST_IS_EXECUTABLE))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue