Bug 823 - Editor backup files (~) is copied from the target_skeleton.
Summary: Editor backup files (~) is copied from the target_skeleton.
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2009.11
Hardware: All Linux
: P5 minor
Target Milestone: 2010.02
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-23 09:15 UTC by Anders Darander
Modified: 2009-12-23 09:24 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Patch to rm *~-files in the TARGET_DIR. (886 bytes, patch)
2009-12-23 09:15 UTC, Anders Darander
Details

Note You need to log in before you can comment on or make changes to this bug.
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.