| |
@@ -26,7 +26,7 @@
|
| |
rm -vr .github .azure-pipelines
|
| |
find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' +
|
| |
find -type f -name '.gitignore' -print -delete
|
| |
- sed -i -e 's|env python$|env python3|' scripts/inventory/*.py scripts/vault/*.py
|
| |
+ test -d scripts && sed -i -e 's|env python$|env python3|' scripts/inventory/*.py scripts/vault/*.py || echo "nothing to do"
|
| |
|
| |
%build
|
| |
%ansible_collection_build
|
| |
Make sed to check for scripts directory since it doesn't exist in community-general anymore.