1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-31 14:40:05 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
munja
0ce7efee3e fix: declaring msg variable prior to set statement in mp_copyfolder.sas 2021-12-13 11:26:17 +00:00
munja
357677e45c chore: switching pre-commit hook to bash from shell 2021-12-13 09:14:29 +00:00
3 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
sasjs lint
# Avoid commits to the master branch

View File

@@ -2790,9 +2790,9 @@ run;
/* create folders and copy content */
data _null_;
set work.&tempds;
length msg $256;
length msg $200;
call missing(msg);
set work.&tempds;
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!!')');

View File

@@ -54,9 +54,9 @@
/* create folders and copy content */
data _null_;
set work.&tempds;
length msg $256;
length msg $200;
call missing(msg);
set work.&tempds;
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!!')');