Browse Source

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

changes/20/777220/1
Zuul 1 year ago committed by Gerrit Code Review
parent
commit
d9c04528ef
  1. 2
      scripts/run-validations.sh

2
scripts/run-validations.sh

@ -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

Loading…
Cancel
Save