This commit is contained in:
davidovski 2024-03-21 11:32:49 +00:00
parent 14b7eb50d3
commit 8ccb4fed2f

View file

@ -11,6 +11,7 @@ usage () {
# check if a file has changed since last generating # check if a file has changed since last generating
# #
newer () { newer () {
# TODO account for dependencies that have change
[ ! -e "$2" ] || [ "$1" -nt "$2" ] [ ! -e "$2" ] || [ "$1" -nt "$2" ]
} }