wok-6.x diff cookutils/stuff/cook-newest.patch @ rev 24477

updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author Hans-G?nter Theisgen
date Fri Feb 18 10:50:23 2022 +0100 (2022-02-18)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cookutils/stuff/cook-newest.patch	Fri Feb 18 10:50:23 2022 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +Force the date of the last produced file to the newest package source file. 
     1.5 +Take care or receipt *and* stuff
     1.6 +--- a/cook
     1.7 ++++ b/cook
     1.8 +@@ -879,7 +879,8 @@
     1.9 + 
    1.10 + 	# Build cpio archives.
    1.11 + 	action 'Compressing the FS...'
    1.12 +-	find fs -newer $receipt -exec touch -hr $receipt {} \;
    1.13 ++	newest="$(find receipt stuff 2>/dev/null | xargs ls -td | sed q)"
    1.14 ++	find fs -newer $newest -exec touch -hr $newest {} \;
    1.15 + 	find fs | cpio -o -H newc --quiet | lzma e fs.cpio.lzma -si
    1.16 + 	rm -rf fs
    1.17 + 	status