kolla-ansible/tools/validate-links.sh
Swapnil Kulkarni d4c7129dc3 Remove not required echo
- tools/validate-links.sh has a echo which
  is not necessary. Removed it.

Change-Id: I122c995bc5d99592212505ce23256e27685b4af4
Closes-Bug: #1479647
2015-07-30 06:57:27 +00:00

9 lines
194 B
Bash
Executable File

#!/bin/bash
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
cd "$(dirname "$REAL_PATH")/.."
if find . -type l -exec test ! -e {} \; -print | egrep '.*'; then
exit 1
fi