File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,21 @@ echo $PACKAGE_PATH
16
16
17
17
set -e -x -o pipefail
18
18
19
- readarray -t PROJECTS < <( find . -name gradlew.bat -printf ' %h\n' )
19
+ # We were using process substitution before for find/readarray, which started failing.
20
+ # Possibly related to https://github.com/git-for-windows/git/issues/2291, although
21
+ # we could not correlate with the software running on the hosted agents.
22
+ PROJECTS_FILE=$( mktemp proj-XXXXXX)
23
+ on_exit () {
24
+ local exit_code=$?
25
+ rm -f " $PROJECTS_FILE "
26
+ printf " Exiting with exit code %s\n" $exit_code
27
+ exit $exit_code
28
+ }
29
+ trap on_exit EXIT
30
+
31
+ find . -name gradlew.bat -printf ' %h\n' > " $PROJECTS_FILE "
32
+
33
+ readarray -t PROJECTS < " $PROJECTS_FILE "
20
34
21
35
for dir in " ${PROJECTS[@]} " ; do
22
36
echo $dir
Original file line number Diff line number Diff line change 3
3
4
4
# Copyright (c) Microsoft. All rights reserved.
5
5
# Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
6
+ """
7
+ Speech synthesis samples for the Microsoft Cognitive Services Speech SDK
8
+ """
6
9
7
10
try :
8
11
import azure .cognitiveservices .speech as speechsdk
You can’t perform that action at this time.
0 commit comments