Bug 6434 - apply-patches.sh does not work recursively
Summary: apply-patches.sh does not work recursively
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-12 02:27 UTC by Daniel Mentz
Modified: 2014-02-08 21:28 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Patch (785 bytes, patch)
2013-08-12 02:27 UTC, Daniel Mentz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Mentz 2013-08-12 02:27:31 UTC
Created attachment 5018 [details]
Patch

scan_patchdir is meant to work recursively. As it stands today, it doesn't quite work because it defines the variable "path" as global instead of local. Recursive invocations overwrite the value of the previous invocation.
Comment 1 Thomas De Schampheleire 2014-02-07 10:18:31 UTC
Patch updated with a testcase and sent to the list, awaiting integration.
Comment 2 Peter Korsgaard 2014-02-08 21:28:20 UTC
Fixed in 14cdf705c678d1ddb9705ea577a42b6b647f96c7, thanks