Merge "Modify find to use -H to support symbolic links"

This commit is contained in:
Zuul 2021-02-19 14:21:00 +00:00 committed by Gerrit Code Review
commit d9c04528ef
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ fi
VALIDATIONS_BASEDIR=${VALIDATIONS_BASEDIR:="/usr/share/openstack-tripleo-validations"}
VAL=$(find $VALIDATIONS_BASEDIR/playbooks -type f -regex ".*playbooks\/${VALIDATION}\.y[a]?ml")
VAL=$(find -H $VALIDATIONS_BASEDIR/playbooks -type f -regex ".*playbooks\/${VALIDATION}\.y[a]?ml")
if [[ -z ${VAL} ]]; then
echo "The ${VALIDATION} validation doesn't exist"
exit 1