feat: show which
output in built_or_system
This commit is contained in:
parent
6773eb6c59
commit
3a54f096e4
1 changed files with 1 additions and 0 deletions
1
main.sh
1
main.sh
|
@ -27,6 +27,7 @@ built_or_system () {
|
|||
|
||||
elif exe=$(which "$2"); then
|
||||
echo "$exe" # stdout
|
||||
echo "$exe" >&2
|
||||
|
||||
else
|
||||
echo " ** $2: not found neither built nor in-system" >&2 # stderr
|
||||
|
|
Loading…
Add table
Reference in a new issue