Skip to content

--amend has no effect when not done with any --try-* option #3358

@Flamefire

Description

@Flamefire

I tried to install the following fake module with eb toy.eb --amend=description=FOOBAR but the created module file did not have FOOBAR in it

easyblock = 'Binary'

name = 'toy'
version = '0.0'

homepage = 'https://easybuilders.github.io/easybuild'
description = "Toy C program, 100% toy."

toolchain = SYSTEM

sources = [SOURCE_TAR_GZ]
checksums = ['e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855']

sanity_check_paths = {
    'files': ['README'],
    'dirs': [],
}

install_cmd = "echo hello > %(installdir)s/README"

moduleclass = 'tools'

When using --try-amend or any --try-* option all works as expected

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions