Debian Codegraph @

ansible_collections/community/dns/tests/integration/replace-requirements.sh

raw
1 #!/usr/bin/env bash
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 DIRECTORY="$(dirname "$0")"
7
8 if [ -e "${DIRECTORY}/$1" ]; then
9 cp "${DIRECTORY}/$1" "${DIRECTORY}/requirements.txt"
10 fi