Not sure why this script kept getting a syntax error on my CI machine.
if [ -d "$ws" ]; then if $condition; then echo "first condit