We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6e08e5c + 6ebe576 commit ab5b26fCopy full SHA for ab5b26f
depends/funcs.mk
@@ -234,7 +234,9 @@ $($(1)_postprocessed): | $($(1)_staged)
234
touch $$@
235
$($(1)_cached): | $($(1)_dependencies) $($(1)_postprocessed)
236
echo Caching $(1)...
237
- cd $$($(1)_staging_dir)/$(host_prefix); find . | sort | $(build_TAR) --no-recursion -czf $$($(1)_staging_dir)/$$(@F) -T -
+ cd $$($(1)_staging_dir)/$(host_prefix); \
238
+ find . ! -name '.stamp_postprocessed' -print0 | TZ=UTC xargs -0r touch -h -m -t 200001011200; \
239
+ find . ! -name '.stamp_postprocessed' | LC_ALL=C sort | $(build_TAR) --numeric-owner --no-recursion -czf $$($(1)_staging_dir)/$$(@F) -T -
240
mkdir -p $$(@D)
241
rm -rf $$(@D) && mkdir -p $$(@D)
242
mv $$($(1)_staging_dir)/$$(@F) $$(@)
0 commit comments