From: Tobias Ulmer Date: Thu, 19 Jan 2017 16:10:47 +0000 (+0100) Subject: e2-fetch-sources: --all shouldn't cause a scm by default warning X-Git-Tag: e2factory-2.3.17~71 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=df5ba35daf2bab3b253090e2e38d4946fe01634c;p=e2factory.git e2-fetch-sources: --all shouldn't cause a scm by default warning Signed-off-by: Tobias Ulmer --- diff --git a/local/e2-fetch-sources.lua b/local/e2-fetch-sources.lua index 3351d38..b6c539e 100644 --- a/local/e2-fetch-sources.lua +++ b/local/e2-fetch-sources.lua @@ -69,7 +69,7 @@ local function e2_fetch_source(arg) if #arguments > 0 then opts.selection = true end - if not (opts.scm or opts.files or opts.chroot or opts.selection + if not (opts.all or opts.scm or opts.files or opts.chroot or opts.selection or opts.git or opts.cvs or opts.svn) then e2lib.warn("WOTHER", "Selecting scm sources by default") opts.scm = true @@ -222,7 +222,7 @@ local function e2_fetch_source(arg) end end - if opts.scm or opts.files or opts.git or opts.cvs or opts.svn or + if opts.all or opts.scm or opts.files or opts.git or opts.cvs or opts.svn or opts.selection then e2lib.log(2, "fetching sources...") local rc, re = fetch_sources(info, opts, sel)