blob: fbe77522918f651ab66c4f9722d34198f69639ff (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/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}
|