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
|
if os.path.isdir(absLibDir): break
|
||||||
libDir = None
|
libDir = None
|
||||||
if libDir is None:
|
if libDir is None:
|
||||||
print( 'echo "[ERROR] coriolisEnv.py, library directory not found."' )
|
if not options.queryISysRoot and not options.queryInstRoot:
|
||||||
sys.exit( 1 )
|
print( 'echo "[ERROR] coriolisEnv.py, library directory not found."' )
|
||||||
|
sys.exit( 1 )
|
||||||
|
|
||||||
strippedPath = "%s/bin:%s" % ( coriolisTop, strippedPath )
|
strippedPath = "%s/bin:%s" % ( coriolisTop, strippedPath )
|
||||||
strippedLibraryPath = "%s:%s" % ( absLibDir , strippedLibraryPath )
|
strippedLibraryPath = "%s:%s" % ( absLibDir , strippedLibraryPath )
|
||||||
|
|
Loading…
Reference in New Issue