summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xacprep5
1 files changed, 4 insertions, 1 deletions
diff --git a/acprep b/acprep
index 2aebe3a6..7426cab3 100755
--- a/acprep
+++ b/acprep
@@ -589,7 +589,10 @@ class PrepareBuild(CommandLineApp):
#########################################################################
def prefix_directory(self):
- return self.prefix_dir if self.prefix_dir else None
+ if self.prefix_dir:
+ return self.prefix_dir
+ else:
+ return None
def default_products_directory(self):
if self.envvars['LEDGER_PRODUCTS']: