From 38460cfe7246f34ccb09768b1435b9dcfd739e3b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 6 Jan 2016 00:31:27 +0100 Subject: [PATCH] set-source-date-epoch-to-latest.sh: Support Darwin --- .../setup-hooks/set-source-date-epoch-to-latest.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/build-support/setup-hooks/set-source-date-epoch-to-latest.sh b/pkgs/build-support/setup-hooks/set-source-date-epoch-to-latest.sh index e57848cff55..9e325106f82 100644 --- a/pkgs/build-support/setup-hooks/set-source-date-epoch-to-latest.sh +++ b/pkgs/build-support/setup-hooks/set-source-date-epoch-to-latest.sh @@ -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.