blob: fbe77522918f651ab66c4f9722d34198f69639ff [file] [log] [blame]
#!/bin/bash
# ----------------------------------------------------------------------------
# Echoes project-level directory if a source file within is newer than the
# target directory.
# ----------------------------------------------------------------------------
[ ${1/*\//} = "package-info.java" ] && exit 0
project=${1/src*/}
[ ${project}target -nt $1 ] || echo ${project}