]> Savannah Git Hosting - gnulib.git/commit
csharpcomp-script: Handle directories with spaces correctly.
authorBruno Haible <bruno@clisp.org>
Thu, 10 Oct 2024 17:39:36 +0000 (19:39 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 10 Oct 2024 17:40:16 +0000 (19:40 +0200)
commitb8f013422581af67cdfcddd3beaece2c86150579
treed65026cc42b1d088cb76f903f2be0b0d6180c84f
parentcd962ee06c2dfa79a6f77fa2a81244bd9bc7c49a
csharpcomp-script: Handle directories with spaces correctly.

Reported by Michele Locati <michele@locati.it>.

* build-aux/csharpcomp.sh.in (command_for_print, command_for_eval,
options_csc_for_print, options_csc_for_eval, sources_csc_for_print,
sources_csc_for_eval): New variables.
(sed_protect_1, sed_protect_2a, sed_protect_2b, sed_protect_2c,
sed_protect_3a, sed_protect_3b): New variables, copied from
build-aux/x-to-1.in.
(func_add_word_to_command): New function, copied from
build-aux/x-to-1.in.
(func_add_word_to_options_csc, func_add_word_to_sources_csc): New
functions.
(options_csc, sources_csc): Remove variables. Use
func_add_word_to_options_csc, func_add_word_to_sources_csc instead of
augmenting them.
Use options_csc_for_print, options_csc_for_eval, sources_csc_for_print,
sources_csc_for_eval when invoking csc.
* build-aux/csharpexec.sh.in (sed_quote_subst): Remove unused variable.
ChangeLog
build-aux/csharpcomp.sh.in
build-aux/csharpexec.sh.in