Skip to content

Commit 523b4b6

Browse files
author
Rustam
committed
fixed issue with different slashes
1 parent 4b023d3 commit 523b4b6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CacheUpdater/Task.cls.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2016.2 (Build 721U)" ts="2016-08-31 14:17:29">
2+
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2016.2 (Build 721U)" ts="2016-09-04 22:50:49">
33
<Class name="CacheUpdater.Task">
44
<Super>%SYS.Task.Definition</Super>
55
<TimeChanged>64161,48985.224853</TimeChanged>
@@ -227,7 +227,7 @@ Download list of files on https://raw.githubusercontent.com/ server.<br>
227227

228228
<Class name="CacheUpdater.UDL">
229229
<Super>%RegisteredObject</Super>
230-
<TimeChanged>64161,51384.891047</TimeChanged>
230+
<TimeChanged>64165,82238.47126</TimeChanged>
231231
<TimeCreated>64161,48850.325593</TimeCreated>
232232

233233
<Method name="IsUDLFile">
@@ -594,8 +594,9 @@ Creates and imports mac, int, inc files into the project from stream
594594
Do contentStream.Rewind()
595595
596596
set CSPPath = $system.CSP.GetFileName($system.CSP.GetDefaultApp($namespace)_"/")
597-
set fileDirectory = $Piece(url, "csp/", 2)
597+
set fileDirectory = $translate($Piece(url, "csp/", 2), "\", "/")
598598
set dirChain = $p(CSPPath_fileDirectory,$p($translate(CSPPath_fileDirectory,"\","/"),"/",*),1)
599+
set dirChain = $translate(dirChain, "\", "/")
599600
do ##class(%File).CreateDirectoryChain(dirChain)
600601
set st = filestream.LinkToFile(CSPPath_fileDirectory)
601602

0 commit comments

Comments
 (0)