# HG changeset patch # User Pascal Bellard # Date 1563097974 -7200 # Node ID 8418b19a2dfcf8dadc304e7243b66b3e93fc2fc1 # Parent b5e6796ff599b21469421d312f46a3603bb5fee7 modules/pack: take care of stuff update dates diff -r b5e6796ff599 -r 8418b19a2dfc modules/pack --- a/modules/pack Sat Jun 08 16:40:51 2019 +0200 +++ b/modules/pack Sun Jul 14 11:52:54 2019 +0200 @@ -718,7 +718,8 @@ # Build fs cpio archive action 'Compressing the FS...' - find fs -newer $receipt -exec touch -hr $receipt '{}' \; + newest="$(find receipt stuff 2>/dev/null | xargs ls -td | sed q)" + find fs -newer $newest -exec touch -hr $newest '{}' \; # find fs | cpio -o -H newc --quiet | lzma-alone e fs.cpio.lzma -si find fs | cpio -o -H newc --quiet | /bin/lzma -qzeT0 >fs.cpio.lzma mv fs ../