[lxc-devel] [lxc/lxc] 655d10: templates/*.in: fixed PATH handling with spaces

Stéphane Graber noreply at github.com
Tue Apr 6 14:44:16 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 655d10ed7f4eff465cf2be1f0a3664f86df7b83c
      https://github.com/lxc/lxc/commit/655d10ed7f4eff465cf2be1f0a3664f86df7b83c
  Author: Christian Ratzenhofer <christian.ratzenhofer at cdnm.at>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M templates/lxc-busybox.in
    M templates/lxc-download.in
    M templates/lxc-local.in
    M templates/lxc-oci.in

  Log Message:
  -----------
  templates/*.in: fixed PATH handling with spaces

if $PATH already contains a path with a space the append of the
default directories in all template scripts fails with an error
like the following:

/usr/share/lxc/templates/lxc-download: 69: export: (x86)/NVIDIA: bad
variable name

Signed-off-by: Christian Ratzenhofer <christian.ratzenhofer at cdnm.at>


  Commit: ace51ce88d919428889819332233075937050fc7
      https://github.com/lxc/lxc/commit/ace51ce88d919428889819332233075937050fc7
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M templates/lxc-busybox.in
    M templates/lxc-download.in
    M templates/lxc-local.in
    M templates/lxc-oci.in

  Log Message:
  -----------
  Merge pull request #3772 from merlin1991/master

templates/*.in: fixed PATH handling with spaces


Compare: https://github.com/lxc/lxc/compare/093bfcc83cb5...ace51ce88d91


More information about the lxc-devel mailing list