Skip to content

quick start script GET to nonexistent endpoint #245

@edcallaghan

Description

@edcallaghan

.../tools/mu2e-quick-spack-start.sh contains a hard-coded get request for content hosted on github (https://github.com/Mu2e/otsdaq-mu2e/blob/develop/tools/mu2e-quick-spack-start.sh#L147):
wget https://raw.githubusercontent.com/art-daq/artdaq_demo/refs/heads/develop/tools/setup_spack_build_system.sh

As of commit 8f710e in the relevant repo (art-daq/artdaq-demo@8f710e6), the sought file does not exist. The wget return code is unchecked, so the script proceeds but is unable to make use of the secondary functionality. This leads to local variables failing to be meaningfully defined, which are used downstream unquoted, leading to effective syntax errors which clutter the output and obfuscate the source of the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions