From a455582922e6abd04c68aa7b56c9ea6a0980e27c Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Mon, 15 Sep 2014 16:05:38 +0200
Subject: [PATCH] genbt5list: fixed bt5 list name

regression introduced with commit cacea29b5
---
 product/ERP5/bin/genbt5list | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/bin/genbt5list b/product/ERP5/bin/genbt5list
index 81b1eb31ce..835e2434fd 100755
--- a/product/ERP5/bin/genbt5list
+++ b/product/ERP5/bin/genbt5list
@@ -220,7 +220,7 @@ def main(dir_list=None, **kw):
     try:
       with open(d, 'wb') as f:
         f.write(bt5list)
-      os.rename(d, d[:-4])
+      os.rename(d, 'bt5list')
     finally:
       try:
         os.remove(d)
-- 
2.30.9