Odi's astoundingly incomplete notes
New entries | Codefix future file timestamps
   When installing a new machine you often notice too late that the clock is wrong. Then you may have already created files with a future timestamp. This is bad as soon as you set your clock correctly. Now 
   
    
            
  
  make will complain and may even fail to build correctly. Here is how to fix it:
- create a file with current timestamp: touch now
- fix all future files: find / -mount -newer now-print0| xargs -0 touch
- we no longer need that file: rm now
Thanks! Worked like a charm!
            Add comment