mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Fix updater bug due to missing newline at EOF (#14713)
This commit is contained in:
parent
dae12ee1b8
commit
1294cec92c
@ -119,6 +119,7 @@ django==4.2.6
|
||||
# djangorestframework
|
||||
# drf-spectacular
|
||||
# social-auth-app-django
|
||||
# via -r /awx_devel/requirements/requirements_git.txt
|
||||
django-auth-ldap==4.1.0
|
||||
# via
|
||||
# -r /awx_devel/requirements/requirements.in
|
||||
|
||||
@ -5,4 +5,4 @@ git+https://github.com/ansible/ansible-runner.git@devel#egg=ansible-runner
|
||||
# specifically need https://github.com/robgolding/django-radius/pull/27
|
||||
git+https://github.com/ansible/django-radius.git@develop#egg=django-radius
|
||||
git+https://github.com/ansible/python3-saml.git@devel#egg=python3-saml
|
||||
git+https://github.com/ansible/django-ansible-base.git@devel#egg=django-ansible-base
|
||||
git+https://github.com/ansible/django-ansible-base.git@devel#egg=django-ansible-base
|
||||
|
||||
@ -55,7 +55,7 @@ main() {
|
||||
echo ""
|
||||
NEEDS_HELP=1
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
|
||||
if [[ "$NEEDS_HELP" == "1" ]] ; then
|
||||
echo "This script generates requirements.txt from requirements.in and requirements_git.in"
|
||||
@ -76,6 +76,12 @@ main() {
|
||||
exit
|
||||
fi
|
||||
|
||||
if [[ ! -z "$(tail -c 1 "${requirements_git}")" ]]
|
||||
then
|
||||
echo "No newline at end of ${requirements_git}, please add one"
|
||||
exit
|
||||
fi
|
||||
|
||||
cp -vf requirements.txt "${_tmp}"
|
||||
cd "${_tmp}"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user