Small correction.
This commit is contained in:
parent
9ab38b5651
commit
d8a8dfcee9
|
@ -94,6 +94,7 @@ if __name__ == "__main__":
|
|||
if options.static: linkType = "Static"
|
||||
if options.shared: linkType = "Shared"
|
||||
if options.rootDir: rootDir = options.rootDir
|
||||
if options.installDir: installDir = options.installDir
|
||||
|
||||
strippedPath = stripPath ( "PATH" )
|
||||
strippedLibraryPath = stripPath ( "LD_LIBRARY_PATH" )
|
||||
|
@ -123,13 +124,12 @@ fi
|
|||
|
||||
elif coriolisVersion == 2:
|
||||
|
||||
if not rootDir:
|
||||
rootDir = os.getenv("HOME") + "/coriolis-2.x"
|
||||
|
||||
if installDir:
|
||||
buildDir = "SYSTEM"
|
||||
coriolisTop = installDir
|
||||
else:
|
||||
if not rootDir:
|
||||
rootDir = os.getenv("HOME") + "/coriolis-2.x"
|
||||
buildDir = buildType + "." + linkType
|
||||
coriolisTop = "%s/%s/%s/install" % ( rootDir, osDir, buildDir )
|
||||
|
||||
|
|
Loading…
Reference in New Issue