1 2 3 4 5 6 7
#!/bin/bash DIR=$(dirname "$0") VERSION=$(./tools/get-version.sh) mkdir -p "${DIR}/../dist" sed -e "s/VERSION_PLACEHOLDER/${VERSION}/" \ "${DIR}/../dist/python-ansible-compat.spec.in" \ > "${DIR}/../dist/python-ansible-compat.spec"