mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2026-01-27 11:01:24 +01:00
shared-repo-unpack: Allow shared to be unspecified
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
aad15671f7
commit
f91610defd
|
|
@ -51,7 +51,7 @@ for repo in sorted(repos.keys()):
|
|||
if repo not in needrepos:
|
||||
continue
|
||||
targetrepodir = "%s/%s" % (targetsubdir, repo)
|
||||
if shared:
|
||||
if shared != "None":
|
||||
utils.printheader("Copying in repo %s" % repo)
|
||||
utils.mkdir(targetrepodir)
|
||||
subprocess.check_call(["rsync", "-a", "%s/%s" % (shared, repo), targetsubdir])
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user