| #!/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} |