1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 18:06:13 +01:00

fix buildenv data name, it needs to be "buildenv"

The repo server is kind of picky...
This commit is contained in:
Michael Schroeder 2014-11-07 13:52:06 +01:00
parent d5b795a02b
commit 6ccf64fc2f

View File

@ -582,7 +582,7 @@ def main(apiurl, opts, argv):
cpiodata.add(os.path.basename(build_descr), build_descr_data) cpiodata.add(os.path.basename(build_descr), build_descr_data)
# buildenv must come last for compatibility reasons... # buildenv must come last for compatibility reasons...
if buildenvfile: if buildenvfile:
cpiodata.add("_buildenv", open(buildenvfile).read()) cpiodata.add("buildenv", open(buildenvfile).read())
build_descr_data = cpiodata.get() build_descr_data = cpiodata.get()
# special handling for overlay and rsync-src/dest # special handling for overlay and rsync-src/dest