diff options
Diffstat (limited to 'ansible_collections/community/dns/tests/integration/replace-requirements.sh')
-rwxr-xr-x | ansible_collections/community/dns/tests/integration/replace-requirements.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ansible_collections/community/dns/tests/integration/replace-requirements.sh b/ansible_collections/community/dns/tests/integration/replace-requirements.sh new file mode 100755 index 000000000..c3a52f5d1 --- /dev/null +++ b/ansible_collections/community/dns/tests/integration/replace-requirements.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +# Copyright (c) Ansible Project +# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later + +DIRECTORY="$(dirname "$0")" + +if [ -e "${DIRECTORY}/$1" ]; then + cp "${DIRECTORY}/$1" "${DIRECTORY}/requirements.txt" +fi |