mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-06 13:44:47 +02:00
check_requirements: write out output of safety check
Use tee to write the output of safety check just in case we need to refer to it later. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
190a97fda4
commit
736c1104ae
|
@ -32,8 +32,9 @@ deptree="deptree.txt"
|
||||||
echo "Creating $deptree"
|
echo "Creating $deptree"
|
||||||
pipdeptree > $deptree
|
pipdeptree > $deptree
|
||||||
pip install safety
|
pip install safety
|
||||||
echo "Running safety check"
|
safety="safety_check.txt"
|
||||||
safety check
|
echo "Running safety check (output also to $safety)"
|
||||||
|
safety check | tee $safety
|
||||||
deactivate
|
deactivate
|
||||||
rm -rf $tmpdir
|
rm -rf $tmpdir
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user