[autobuilder-helper,thud,14/40] prepare-shared-repos: Really fix shell globbing
Submitted by Richard Purdie on Sept. 10, 2020, 1:30 p.m.
|
Patch ID: 176335
Details
Commit Message
@@ -39,4 +39,4 @@ with tempfile.TemporaryDirectory(prefix="shared-repo-temp-", dir="/tmp") as temp
if args.publish_dir:
utils.publishrepo(tempdir, repo, args.publish_dir)
- subprocess.check_call(["rsync", "-a", tempdir + "/*", args.sharedsrcdir], shell=True)
+ subprocess.check_call("rsync -a " + tempdir + "/* " + args.sharedsrcdir, shell=True)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- scripts/prepare-shared-repos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)