19 lines
606 B
Text
19 lines
606 B
Text
|
Index: tools/install-reqs.sh
|
||
|
--- tools/install-reqs.sh.orig
|
||
|
+++ tools/install-reqs.sh
|
||
|
@@ -1,4 +1,4 @@
|
||
|
-#!/bin/bash
|
||
|
+#!/usr/local/bin/bash
|
||
|
set -euo pipefail
|
||
|
pushd examples/playbooks/collections >/dev/null
|
||
|
MISSING=()
|
||
|
@@ -6,7 +6,7 @@ export ANSIBLE_COLLECTIONS_PATH=.
|
||
|
for COLLECTION in ansible.posix community.general community.molecule;
|
||
|
do
|
||
|
COL_NAME=${COLLECTION//\./-}
|
||
|
- FILENAME=$(find . -maxdepth 1 -name "$COL_NAME*" -print -quit)
|
||
|
+ FILENAME=$(gfind . -maxdepth 1 -name "$COL_NAME*" -print -quit)
|
||
|
if test -n "$FILENAME"
|
||
|
then
|
||
|
echo "Already cached $COL_NAME as $FILENAME"
|