Make it work under the bootstrap dir for directories queries.
This commit is contained in:
parent
b7f6af8588
commit
e04f6b1cbc
|
@ -319,8 +319,9 @@ if __name__ == "__main__":
|
|||
if os.path.isdir(absLibDir): break
|
||||
libDir = None
|
||||
if libDir is None:
|
||||
print( 'echo "[ERROR] coriolisEnv.py, library directory not found."' )
|
||||
sys.exit( 1 )
|
||||
if not options.queryISysRoot and not options.queryInstRoot:
|
||||
print( 'echo "[ERROR] coriolisEnv.py, library directory not found."' )
|
||||
sys.exit( 1 )
|
||||
|
||||
strippedPath = "%s/bin:%s" % ( coriolisTop, strippedPath )
|
||||
strippedLibraryPath = "%s:%s" % ( absLibDir , strippedLibraryPath )
|
||||
|
|
Loading…
Reference in New Issue