diff --git a/src/utilsrc/apple/copy.pla b/src/utilsrc/apple/copy.pla index 8bab308..d6d9c6a 100644 --- a/src/utilsrc/apple/copy.pla +++ b/src/utilsrc/apple/copy.pla @@ -89,7 +89,7 @@ def chkdstpath(dstfile) // // Check if copying into a directory // - if dstfileinfo.file_type == $0F + if dstfileinfo.storage_type & $0D == $0D if dstfile->[^dstfile] <> '/' // // Add path seperator @@ -114,7 +114,7 @@ def copyfiles(srcfile, dstfile)#0 // strcpy(@srcpath, srcfile) wildname = 0 - if fileio:getfileinfo(@srcpath, @srcfileinfo) <> FILE_ERR_OK or srcfileinfo.file_type <> $0F + if fileio:getfileinfo(@srcpath, @srcfileinfo) <> FILE_ERR_OK or (srcfileinfo.storage_type & $0D <> $0D) filefrompath(@wildname, @srcpath) srcpath = srcpath - wildname fin