Fix updater bug due to missing newline at EOF (#14713)

This commit is contained in:
Alan Rominger 2023-12-08 11:51:17 -05:00 committed by GitHub
parent dae12ee1b8
commit 1294cec92c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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}"