appveyor: fix behavior when BASE set in setup file
This commit is contained in:
@@ -56,7 +56,7 @@ ciscriptsdir = os.path.abspath(os.path.dirname(sys.argv[0]))
|
|||||||
if os.path.basename(ciscriptsdir) == 'appveyor':
|
if os.path.basename(ciscriptsdir) == 'appveyor':
|
||||||
ciscriptsdir = ciscriptsdir.rstrip(os.pathsep+'appveyor')
|
ciscriptsdir = ciscriptsdir.rstrip(os.pathsep+'appveyor')
|
||||||
|
|
||||||
if 'BASE' not in os.environ or os.environ['BASE'] == 'SELF':
|
if 'BASE' in os.environ and os.environ['BASE'] == 'SELF':
|
||||||
building_base = True
|
building_base = True
|
||||||
places['EPICS_BASE'] = '.'
|
places['EPICS_BASE'] = '.'
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user