From ca1b1dad24ce0d45b8cfc5c226897c91d6b4cf72 Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Tue, 29 Jan 2013 13:41:12 +0100
Subject: [PATCH] fixup! Fix recipe when backup-script is not provided.

---
 slapos/recipe/generic_mysql/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slapos/recipe/generic_mysql/__init__.py b/slapos/recipe/generic_mysql/__init__.py
index cc8124a15..6f3e28e70 100644
--- a/slapos/recipe/generic_mysql/__init__.py
+++ b/slapos/recipe/generic_mysql/__init__.py
@@ -140,7 +140,7 @@ class Recipe(GenericBaseRecipe):
        )]
     )
     path_list.append(mysqld)
-    mysqldump_binary = self.options.get('mysqldump-binary')
+    environment = dict(PATH='%s' % self.options['bin-directory'])
     # TODO: move to a separate recipe (ack'ed by Cedric)
     if 'backup-script' in self.options:
       # backup configuration
-- 
2.30.9