summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep6
1 files changed, 3 insertions, 3 deletions
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: