Message ID | 8fac95c5-7469-e780-a167-6015a4a0e490@suse.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/buildlib/cbuild b/buildlib/cbuild index efc039bf..5228ec1b 100755 --- a/buildlib/cbuild +++ b/buildlib/cbuild @@ -420,7 +420,7 @@ def run_rpm_build(args,spec_file,env): os.mkdir(os.path.join(tmpdir,"tmp")); subprocess.check_call(["git","archive", - "--prefix","%s/"%(os.path.splitext(tarfn)[0]), + "--prefix","%s/"%(os.path.splitext(os.path.splitext(tarfn)[0])[0]), "--output",os.path.join(tmpdir,"SOURCES",tarfn), "HEAD"]);
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com> --- buildlib/cbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)