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.
1 parent 9e59d21 commit 6ebe576Copy full SHA for 6ebe576
depends/funcs.mk
@@ -233,7 +233,9 @@ $($(1)_postprocessed): | $($(1)_staged)
233
touch $$@
234
$($(1)_cached): | $($(1)_dependencies) $($(1)_postprocessed)
235
echo Caching $(1)...
236
- cd $$($(1)_staging_dir)/$(host_prefix); find . | sort | $(build_TAR) --no-recursion -czf $$($(1)_staging_dir)/$$(@F) -T -
+ cd $$($(1)_staging_dir)/$(host_prefix); \
237
+ find . ! -name '.stamp_postprocessed' -print0 | TZ=UTC xargs -0r touch -h -m -t 200001011200; \
238
+ find . ! -name '.stamp_postprocessed' | LC_ALL=C sort | $(build_TAR) --numeric-owner --no-recursion -czf $$($(1)_staging_dir)/$$(@F) -T -
239
mkdir -p $$(@D)
240
rm -rf $$(@D) && mkdir -p $$(@D)
241
mv $$($(1)_staging_dir)/$$(@F) $$(@)
0 commit comments