Commit b134da1f authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Jehan

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.
parent 118c0c67
Pipeline #255163 passed with stages
in 64 minutes and 56 seconds
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment