-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
util/show-utils.sh shell script is used in CI and other scripts to get the list of tools built depending on the features chosen.
If the main directory of the project is coreutils, util/show-utils.sh script works as expected:
$ util/show-utils.sh --features unix
arch base32 base64 basename basenc cat chgrp chmod chown chroot cksum comm cp csplit cut date dd df dir dircolors dirname du echo env expand expr factor false fmt fold groups hashsum head hostid hostname id install join kill link ln logname ls mkdir mkfifo mknod mktemp more mv nice nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm rmdir seq shred shuf sleep sort split stat stdbuf stty sum sync tac tail tee test timeout touch tr true truncate tsort tty uname unexpand uniq unlink uptime users vdir wc who whoami yesWith my personal fork, I have a different name for the main directory (local Git clone) => rust-coreutils. In this case, results from util/show-utils.sh script is void:
util/show-utils.sh --features unix
(No result)In util/show-utils.sh, the resulting list is created via cargo metadata (JSON output) then parsed with jq. In the jq query, .*coreutils pattern is used for parsing => this request must be fixed to use parent directory != coreutils.
Metadata
Metadata
Assignees
Labels
No labels