]> granicus.if.org Git - php/commitdiff
ensure all files have same date in official archives
authorRemi Collet <remi@remirepo.net>
Thu, 25 Jun 2020 12:38:49 +0000 (14:38 +0200)
committerRemi Collet <remi@php.net>
Thu, 25 Jun 2020 12:59:10 +0000 (14:59 +0200)
scripts/dev/makedist

index 515e4ba722870882d825457a96b65932071f1e16..1326929a3aa57b5a41ea0d94e05cad156e5c3943 100755 (executable)
@@ -159,7 +159,8 @@ fi
 
 # Reset the modification and access times of all files to be packaged.
 echo "makedist: Resetting the modification and access times of package files."
-find . -exec touch -c {} \;
+touch -c NEWS
+find . -exec touch -r NEWS -c {} \;
 
 cd ..