Skip to content

Commit f1e6ee2

Browse files
committed
scripts: reset timestamp for all files
1 parent 059af28 commit f1e6ee2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/build/git-clone.bash

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ perform() {
1818
git -C "$1" submodule update --init --recursive
1919
git -C "$1" submodule foreach git reset --hard
2020
git -C "$1" submodule foreach git clean -ffdx
21+
22+
# set the same timestamps for all files, required by some Makefiles
23+
( cd "$1"; git ls-files -z | xargs -0 touch -h )
2124
}
2225

2326
while read REPO COMMIT_SHA REST; do

0 commit comments

Comments
 (0)