Skip to content

Commit 30ec047

Browse files
author
Egor Bryzgalov
authored
Replaced bash command by sh command (#13105)
1 parent 376a6b4 commit 30ec047

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Tasks/CopyFilesOverSSHV0/copyfilesoverssh.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function getCleanTargetFolderCmd(targetFolder: string): string {
109109
// delete all files in specified folder and then delete all nested folders
110110
return `del /q "${targetFolder}\\*" && FOR /D %p IN ("${targetFolder}\\*.*") DO rmdir "%p" /s /q`;
111111
} else {
112-
return `bash -c "rm -rf '${targetFolder}'/*"`;
112+
return `sh -c "rm -rf '${targetFolder}'/*"`;
113113
}
114114
}
115115

Tasks/CopyFilesOverSSHV0/task.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 0,
20-
"Minor": 170,
21-
"Patch": 1
20+
"Minor": 171,
21+
"Patch": 0
2222
},
2323
"demands": [],
2424
"minimumAgentVersion": "2.102.0",

Tasks/CopyFilesOverSSHV0/task.loc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 0,
20-
"Minor": 170,
21-
"Patch": 1
20+
"Minor": 171,
21+
"Patch": 0
2222
},
2323
"demands": [],
2424
"minimumAgentVersion": "2.102.0",

0 commit comments

Comments
 (0)