Small correction.

This commit is contained in:
Jean-Paul Chaput 2011-01-09 23:06:07 +00:00
parent 9ab38b5651
commit d8a8dfcee9
1 changed files with 11 additions and 11 deletions

View File

@ -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 )