paths must be stored abs

This commit is contained in:
Ville Rantanen
2016-10-25 10:50:11 +03:00
parent 05b5d199b9
commit 8846323b9f

View File

@@ -35,6 +35,10 @@ def setup_options():
options.run=True options.run=True
if options.clearAll: if options.clearAll:
options.clear=True options.clear=True
if options.SRC!='':
options.SRC=os.path.abspath(options.SRC)
if options.TGT!='':
options.TGT=os.path.abspath(options.TGT)
return options return options
def createdb(fname): def createdb(fname):