From 2720f7952242e3e4b27092bc53e22c4c9d0ec9c2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 11 Jun 2012 18:57:17 -0500 Subject: Fix reference to self.options.products_dir --- acprep | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'acprep') diff --git a/acprep b/acprep index 4e715ee7..d5cbcddc 100755 --- a/acprep +++ b/acprep @@ -399,7 +399,7 @@ class PrepareBuild(CommandLineApp): return join(os.environ['HOME'], "Products") def products_directory(self): - if not self.options.products_dir: + if not self.products_dir: products = self.default_products_directory() if not exists(products) or not isdir(products): @@ -407,9 +407,9 @@ class PrepareBuild(CommandLineApp): products = join(products, basename(self.source_dir)) - self.options.products_dir = products + self.products_dir = products - return self.options.products_dir + return self.products_dir def build_directory(self): if not self.options.build_dir: -- cgit v1.2.3