Browse Source

__package_pip: fix shellcheck

Useless `cat $file`, use `< $file` instead.
feature/type-relationship-graph
matze 1 year ago
parent
commit
7398382890
  1. 2
      cdist/conf/type/__package_pip/explorer/extras

2
cdist/conf/type/__package_pip/explorer/extras vendored

@ -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…
Cancel
Save