Changed: #1093 Handle leveldesign and primitives directories seperately for the server upload script.

This commit is contained in:
kaetemi 2011-10-31 13:54:22 +01:00
parent 221f5618fb
commit 43b0cf8ad1

View file

@ -166,10 +166,14 @@ printLog(log, ">>> Upload data_common <<<")
for target in UploadCommon: for target in UploadCommon:
uploadSftp(target[0], target[1], target[3], DataCommonDirectory, [ ]) uploadSftp(target[0], target[1], target[3], DataCommonDirectory, [ ])
printLog(log, ">>> Upload data_leveldesign <<<") printLog(log, ">>> Upload data_leveldesign/leveldesign <<<")
for target in UploadLeveldesign: for target in UploadLeveldesign:
uploadSftp(target[0], target[1], target[3], LeveldesignDirectory, [ ]) uploadSftp(target[0], target[1], target[3], LeveldesignDirectory, [ ])
printLog(log, ">>> Upload data_leveldesign/primitives <<<")
for target in UploadPrimitives:
uploadSftp(target[0], target[1], target[3], PrimitivesDirectory, [ ])
log.close() log.close()
if os.path.isfile("8_upload.log"): if os.path.isfile("8_upload.log"):
os.remove("8_upload.log") os.remove("8_upload.log")