mirror of
https://github.com/ansible/awx.git
synced 2026-04-03 09:15:05 -02:30
Update license info, add tool for helpsies
This commit is contained in:
20
tools/audit-api-license.sh
Executable file
20
tools/audit-api-license.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/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 --------------"
|
||||
Reference in New Issue
Block a user