]> git.e2factory.org Git - e2factory.git/commit
files: error out when at risk of overwriting files in toresult()
authorTobias Ulmer <tu@emlix.com>
Mon, 10 Oct 2016 17:15:52 +0000 (19:15 +0200)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:41:18 +0000 (15:41 +0100)
commitf861166ae009007d9677a6c3ae21911b0c7ade76
treefa3b4a31331783d71ebd550813599428500dffa4
parentf62458f2f84832a8079b5389dc5fbc764e38b462
files: error out when at risk of overwriting files in toresult()

Due to flattening the file tree for collect project, each file in a
source needs an unique file name. Changing the code to accommodate for
anything else is quite involved. For now lets just make sure it's not
possible to generate a broken collect_project result and error out.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
plugins/files.lua