summaryrefslogtreecommitdiff
path: root/lorry
diff options
context:
space:
mode:
Diffstat (limited to 'lorry')
-rwxr-xr-xlorry7
1 files changed, 7 insertions, 0 deletions
diff --git a/lorry b/lorry
index 10fbf1f..a99d5f4 100755
--- a/lorry
+++ b/lorry
@@ -67,6 +67,13 @@ class Lorry(cliapp.Application):
def process_args(self, args):
status = 0
+
+ if self.settings['working-area'] == '' :
+ print 'No working area defined going to use "workd" directory'
+ self.settings['working-area'] = 'workd'
+ if not os.path.exists(self.settings['working-area']):
+ os.makedirs(self.settings['working-area'])
+
for arg in args:
self.progress('Processing spec file %s' % arg)
with open(arg) as f: