mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-02 09:01:13 +00:00
Issue #6378: tools: Don't auto-quote filenames on gimptool for Windows
Fixes #6378 This will break Cygwin workflows (aka when the dev use 'sh' instead of native cmd or PowerShell) but we were already not supporting that due to 'win32_command' which redirects Unixish commands to cmd.
This commit is contained in:
parent
7af987d31b
commit
eff825c1a7
1 changed files with 8 additions and 0 deletions
|
@ -116,6 +116,14 @@ win32_command (const gchar *command)
|
|||
return (const gchar *) cmd;
|
||||
}
|
||||
|
||||
/* Windows shells break with auto-quote. See: https://gitlab.gnome.org/GNOME/gimp/-/issues/6378 */
|
||||
static const gchar *
|
||||
hollow_g_shell_quote (const gchar *input)
|
||||
{
|
||||
return g_strdup (input);
|
||||
}
|
||||
|
||||
#define g_shell_quote hollow_g_shell_quote
|
||||
#endif
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue