Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Archive command in stubbs module fails when arching all options #230

@jammer3d

Description

@jammer3d

Line 296 appears resolves to [[ -r /somepath/modules/'*'/metadata ]] which only matches if there is one module. In my opinion the script should exit with a non zero return code when no metadata is found but more important issue is you cannot create an rpm archive of all modules. There is no output, nothing is produced.

To reproduce (assuming you have more than 1 model under /somepath/modules)
rerun stubbs: archive -f test.sh --format rpm

Env details
rerun --version
1.3.4
bash --verison
GNU bash, version 4.2.46(1)-release (x86_64-redhat-linux-gnu)
....

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions