File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,9 @@ $($(1)_postprocessed): | $($(1)_staged)
228228 $(AT ) touch $$@
229229$($(1 ) _cached) : | $($(1 ) _dependencies) $($(1 ) _postprocessed)
230230 $(AT ) echo Caching $(1 ) ...
231- $(AT ) cd $$($(1 ) _staging_dir) /$(host_prefix ) ; find . | sort | tar --no-recursion -czf $$($(1 ) _staging_dir) /$$(@F ) -T -
231+ $(AT ) cd $$($(1 ) _staging_dir) /$(host_prefix ) ; \
232+ find . ! -name '.stamp_postprocessed' -print0 | TZ=UTC xargs -0 touch -m -t 200001011200; \
233+ find . ! -name '.stamp_postprocessed' -print0 | LC_ALL=C sort -z | tar --create --no-recursion --null -T - | gzip -9n > $$($(1 ) _staging_dir) /$$(@F )
232234 $(AT ) mkdir -p $$(@D )
233235 $(AT ) rm -rf $$(@D ) && mkdir -p $$(@D )
234236 $(AT ) mv $$($(1 ) _staging_dir) /$$(@F ) $$(@ )
You can’t perform that action at this time.
0 commit comments