rerun / rerun

Core rerun. See also http://github.com/rerun-modules

Home Page:http://rerun.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Archive command in stubbs module fails when arching all options

jammer3d opened this issue · comments

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)
....