From 88280113c1ca6cb58fbd3c4dc330e0abda1e3482 Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Fri, 7 Jan 2022 23:25:16 +0700 Subject: [PATCH] fix command 'chmod a+x' for PATH with spacebar --- bluefish/src/rcfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bluefish/src/rcfile.c b/bluefish/src/rcfile.c index 745ecc1..1872629 100644 --- a/bluefish/src/rcfile.c +++ b/bluefish/src/rcfile.c @@ -866,7 +866,7 @@ GList *update_commands(GList *current, gboolean overwrite) array_from_arglist(_("Opera"), "open -a Opera '%p'", "0", NULL)); defaults = g_list_prepend(defaults, - array_from_arglist(_("chmod a+x"), "chmod a+x %f", "0", NULL)); + array_from_arglist(_("chmod a+x"), "chmod a+x '%f'", "0", NULL)); defaults = g_list_prepend(defaults, array_from_arglist(_("Insert date"), "date|", "0", NULL)); @@ -892,7 +892,7 @@ GList *update_commands(GList *current, gboolean overwrite) array_from_arglist(_("Links2 (graphics)"), "links2 -g '%p'&", "0", NULL)); defaults = g_list_prepend(defaults, - array_from_arglist(_("chmod a+x"), "chmod a+x %f", "0", NULL)); + array_from_arglist(_("chmod a+x"), "chmod a+x '%f'", "0", NULL)); defaults = g_list_prepend(defaults, array_from_arglist(_("Insert date"), "date|", "0", NULL)); -- 2.33.0