Farbflash projects: Imaging lingo table | 3-D scene list | Find all | Handler menu | Lingo message window

Changeset 91


Ignore:
Timestamp:
12/09/07 15:17:56 (4 years ago)
Author:
alex
Message:

fixed bug with path name conversion

Location:
branches/beta
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/castlib1/alexUtilities.ls

    r90 r91  
    22782278  if not(the platform contains "mac") then return fname 
    22792279   
     2280  if fname starts "/" then return fname -- huh? must already be an absolute unix path 
     2281   
    22802282  offs = offset(":", fname) 
    22812283  repeat while offs 
     
    22942296  if not(the platform contains "mac") then return fname 
    22952297   
     2298  if fname starts "/Volumes/" then 
     2299    olddelim = the itemdelimiter 
     2300    the itemdelimiter = "/" 
     2301    delete item 1 to 3 of fname 
     2302    the itemdelimiter = olddelim 
     2303    put "/" before fname 
     2304  end if 
     2305   
     2306  if not(fname starts "/") then return fname -- huh? doesn't seem to be an absolute unix path  
     2307   
    22962308  offs = offset("/", fname) 
    22972309  repeat while offs 
     
    22992311    offs = offset("/", fname) 
    23002312  end repeat 
     2313   
    23012314  osDir = getOsDirectory() 
    23022315  olddelim = the itemdelimiter 
  • branches/beta/castlib1/svn_Utilities.ls

    r90 r91  
    138138           
    139139          if count(theResult) > 0 then 
    140             put "No differences found for member: " & memref.name && "(" & memref & ")" 
    141              
     140            if theResult[1] contains "no such file or directory" then 
     141              put theResult[1] 
     142            else 
     143              put "No differences found for member: " & memref.name && "(" & memref & ")" 
     144            end if 
    142145          else 
    143146             
Note: See TracChangeset for help on using the changeset viewer.