__package_pip: fix shellcheck
Useless `cat $file`, use `< $file` instead.
This commit is contained in:
parent
2db0ef7c98
commit
7398382890
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ then
|
|||
pip_freeze="$__object/files/pip-freeze.tmp"
|
||||
pip3 freeze > "$pip_freeze"
|
||||
|
||||
for extra in $(cat "$__object/parameter/extra" | tr ',' '\n')
|
||||
for extra in $(tr ',' '\n' < "$__object/parameter/extra")
|
||||
do
|
||||
# create a grep BRE pattern to search all packages
|
||||
grep_pattern="$(
|
||||
|
|
Loading…
Reference in a new issue