Impossible shell scripts for dir in ...; do BOOST_REGEX_LIB=$ax_lib break done echo "Found in ${BOOST_REGEX_LIB}"