3
0
Fork 0
forked from mirrors/nixpkgs

set-source-date-epoch-to-latest.sh: Support Darwin

This commit is contained in:
Eelco Dolstra 2016-01-06 00:31:27 +01:00
parent 81e530a749
commit 38460cfe72

View file

@ -1,12 +1,6 @@
updateSourceDateEpoch() {
local path="$1"
# FIXME: Support Darwin.
if ! [[ $system =~ linux ]]; then
exit 1
return
fi
# Get the last modification time of all regular files, sort them,
# and get the most recent. Maybe we should use
# https://github.com/0-wiz-0/findnewest here.