Skip to content

install.sh: Fix bee registery of /etc/files #343

Merged
merged 2 commits into from
Aug 24, 2023
Merged

Commits on Aug 24, 2023

  1. install.sh: Fix bee registery of /etc/files

    The function install_etc_files contains a bug which causes the files in
    etc not to be probably registered in the crafted bee index of the
    "mxtools-0.0-0" package.
    
    The reason is, that the functions install_exe and install_data are
    called from the last command of a pipeline. By default, this is executed
    in a subshell, so the implicit modification of the global variable
    INSTALLED_FILES is not seen by main process, which later uses it to
    generate the index.
    
    Make the loop run in the main shell process.
    donald committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    11c868c View commit details
    Browse the repository at this point in the history
  2. install.sh: Avoid find *

    Although the local `etc` directory should contain only sane files, stick
    to good habit and avoid `find *`, which misinterpretes filenames
    starting with `-`. Also add quotes to avoid missinterpretation of
    filenames with whitespace.
    donald committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    af9dd1c View commit details
    Browse the repository at this point in the history