__package_pip: fix shellcheck

Useless `cat $file`, use `< $file` instead.
This commit is contained in:
matze 2021-02-11 23:12:10 +01:00
parent 2db0ef7c98
commit 7398382890
1 changed files with 1 additions and 1 deletions

View File

@ -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="$(