Bug 823

Summary: Editor backup files (~) is copied from the target_skeleton.
Product: buildroot Reporter: Anders Darander <anders.darander>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: buildroot
Priority: P5    
Version: 2009.11   
Target Milestone: 2010.02   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: Patch to rm *~-files in the TARGET_DIR.

Description Anders Darander 2009-12-23 09:15:31 UTC
Created attachment 861 [details]
Patch to rm *~-files in the TARGET_DIR.

While editing files in the target_skeleton, quite a few editors create backup-files with tilde appended to the file names. It would be nice to not have these copied to the TARGET_DIR, while creating the target root fs.

Attached is a patch, that handles these files in the same manner as CVS-directories and .empty-files are handled.
Comment 1 Peter Korsgaard 2009-12-23 09:24:11 UTC
Thanks, committed with a small tweak to remove in same find invocation as the .empty removal.