cvs commit: src ObsoleteFiles.inc
Dag-Erling Smørgrav
des at des.no
Mon Aug 14 12:44:03 UTC 2006
Dmitry Pryanishnikov <dmitry at atlantis.dp.ua> writes:
> Dag-Erling Smørgrav <des at des.no> writes:
> > BTW, if you just need to ensure that a file exists, a safe alternative
> > to 'touch ${FILE}' is ':>>${FILE}'. Makefiles in src/sys/modules
> > which use touch should probably be updated to use this instead.
> It doesn't change the file's last modification time for me using /bin/sh:
> [...]
> So ':>>${FILE}' isn't the same as 'touch ${FILE}' for existing files.
when the purpose is only "to ensure that a file exists" as I wrote
above, this does not matter.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the cvs-src
mailing list