From 07b4733770663cc9cf49732e6699db2a44d00bc8 Mon Sep 17 00:00:00 2001 From: WonYoung Choi Date: Wed, 29 Sep 2021 16:51:39 +0900 Subject: [PATCH] [docker] Restore mtime of .git* files (#186) Restore mtime of .git* files to OLD TIME together because some ninja build uses the .git/logs/HEAD files to get the version information. This affects the incremental build. --- ci/docker/tizen/tools/cache-checksum.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/docker/tizen/tools/cache-checksum.sh b/ci/docker/tizen/tools/cache-checksum.sh index ae9d1f77d22b2..b1690e967cdb6 100755 --- a/ci/docker/tizen/tools/cache-checksum.sh +++ b/ci/docker/tizen/tools/cache-checksum.sh @@ -40,7 +40,7 @@ if [[ "$COMMAND" == "restore" ]]; then fi # Set mtime of files in $TARGET_DIRS to OLD time. - for d in $(find $TARGET_DIRS -type d -not -path "*/.git*"); do + for d in $(find $TARGET_DIRS -type d); do touch -c -m -d @1600000000 $d/* & done