1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-10 22:14:35 +00:00

fix: correct target path. Closes #100

This commit is contained in:
Ivor Townsend
2021-12-02 09:49:05 +00:00
parent 7b2b81a501
commit 3120ba68ad

View File

@@ -55,7 +55,8 @@
/* create folders and copy content */
data _null_;
set work.&tempds;
filepath2="&target/"!!substr(filepath,%length(&source)+2);
if _n_ = 1 then dpos+sum(length(directory),2);
filepath2="&target/"!!substr(filepath,dpos);
if file_or_folder='folder' then call execute('%mf_mkdir('!!filepath2!!')');
else do;
length fref1 fref2 $8;