File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -179,22 +179,22 @@ jobs:
179
179
if (Test-Path $path) {
180
180
cd $path; c
181
181
if (Test-Path .git) {
182
- git init; c
182
+ & git init; c
183
183
} else {
184
- git status
184
+ & git status
185
185
}
186
186
} else {
187
- git init $path; c
187
+ & git init $path; c
188
188
cd $path; c
189
189
}
190
- git config core.autocrlf false; c
191
- git config core.untrackedCache true; c
190
+ & git config core.autocrlf false; c
191
+ & git config core.untrackedCache true; c
192
192
if (($set_origin -ne 0) -and !(git config remote.origin.url)) {
193
- git remote add origin $url; c
193
+ & git remote add origin $url; c
194
194
}
195
- git fetch --depth=1 $url master; c
196
- git reset --hard FETCH_HEAD; c
197
- git clean -df; c
195
+ & git fetch --depth=1 $url master; c
196
+ & git reset --hard FETCH_HEAD; c
197
+ & git clean -df; c
198
198
}
199
199
200
200
# Initialize Git for Windows' SDK
@@ -205,7 +205,7 @@ jobs:
205
205
"/git-sdk-64/`n/test-cache/`n" | Out-File -NoNewLine -Encoding ascii -Append "$(Build.SourcesDirectory)\.git\info\exclude"
206
206
displayName: 'Initialize the Git for Windows SDK'
207
207
- powershell : |
208
- git-sdk-64\git-cmd --command=usr\\bin\\bash.exe -lc @"
208
+ & " git-sdk-64\git-cmd.exe" --command=usr\\bin\\bash.exe -lc @"
209
209
export MAKEFLAGS=-j10
210
210
export DEVELOPER=1
211
211
export NO_PERL=1
You can’t perform that action at this time.
0 commit comments