1 #!/bin/sh 2 # Copyright (c) 2024-present The Bitcoin Core developers 3 # Distributed under the MIT software license, see the accompanying 4 # file COPYING or https://opensource.org/license/mit/. 5 6 export LC_ALL=C 7 8 if [ -n "$SOURCE_DATE_EPOCH" ]; then 9 find . -exec touch -d "@$SOURCE_DATE_EPOCH" {} + 10 fi 11 12 find . | sort | "$1" -X@ "$2" 13