mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
21 lines
603 B
Bash
21 lines
603 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
echo "---------- requirements.txt --------------"
|
||
|
for each in `cat requirements/requirements.txt| awk -F= '{print $1}' | tr -d "[]"`
|
||
|
do
|
||
|
if [ ! -f docs/licenses/$each.txt ]; then
|
||
|
echo No license for $each
|
||
|
fi
|
||
|
done
|
||
|
echo "---------- end requirements.txt --------------"
|
||
|
|
||
|
|
||
|
echo "---------- requirements_ansible.txt --------------"
|
||
|
for each in `cat requirements/requirements_ansible.txt| awk -F= '{print $1}' | tr -d "[]"`
|
||
|
do
|
||
|
if [ ! -f docs/licenses/$each.txt ]; then
|
||
|
echo No license for $each
|
||
|
fi
|
||
|
done
|
||
|
echo "---------- end requirements_ansible.txt --------------"
|