Add support for spaces in filenames (6/x)

This adds a missing part for commands.

GNU Make is required for this to work.
This commit is contained in:
Pierre Pronchery 2019-02-14 19:09:53 +01:00
parent 8457638c00
commit 0d4eb2ff17

View File

@ -2884,7 +2884,9 @@ static int _uninstall_target(Makefile * makefile,
_makefile_print(makefile, "$(EXEEXT)\n");
break;
case TT_COMMAND:
_makefile_print(makefile, "\t%s%s/", rm_destdir, path);
_makefile_print(makefile, "\t%s", rm_destdir);
_makefile_print_escape(makefile, path);
_makefile_print(makefile, "/");
_makefile_print_escape(makefile, target);
_makefile_print(makefile, "\n");
break;