Changeset 159 for trunk/lingosource/castlib1/alexUtilities.ls
- Timestamp:
- 04/01/08 10:13:07 (4 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib1/alexUtilities.ls (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib1/alexUtilities.ls
r155 r159 2503 2503 2504 2504 if mCheckForXtra(me, "BudAPI") then 2505 2505 2506 if the platform contains "mac" then 2506 2507 … … 2510 2511 resetUNames = 1 2511 2512 end if 2512 tempSrcHFSPath = basysfolder("temp") & theName 2513 if resetUNames = 1 then baReturnUnixNames(1) 2514 return tempSrcHFSPath 2513 tempSrcHFSPath = basysfolder("temp") 2514 if length(tempSrcHFSPath) > 0 then 2515 tempSrcHFSPath = tempSrcHFSPath & theName 2516 if resetUNames = 1 then baReturnUnixNames(1) 2517 return tempSrcHFSPath 2518 else 2519 if resetUNames = 1 then baReturnUnixNames(1) 2520 end if 2515 2521 2516 2522 else 2517 2523 tmpfolder = baSysFolder("temp") 2518 return tmpfolder & theName 2519 end if 2524 if length(tmpfolder) > 0 then return tmpfolder & theName 2525 end if 2526 2527 end if 2528 2529 -- we only come here, if 2530 -- -- a.) buddyApi is NOT present or 2531 -- -- b.) basysfolder("temp") returns "" (for whatever reason...!) 2532 if the platform contains "mac" then 2533 2534 tempSrcPath = "/tmp/" & theName 2535 2536 return mConvertUnix2Hfs(me, tempSrcPath) 2520 2537 2521 2538 else 2522 if the platform contains "mac" then 2523 2524 tempSrcPath = "/tmp/" & theName 2525 2526 return mConvertUnix2Hfs(me, tempSrcPath) 2527 2528 else 2529 tmpfolder = "C:\WINDOWS\TEMP\" 2530 return tmpfolder & theName 2531 end if 2532 2533 end if 2539 tmpfolder = "C:\WINDOWS\TEMP\" 2540 return tmpfolder & theName 2541 end if 2542 2534 2543 2535 2544 end
Note: See TracChangeset
for help on using the changeset viewer.
