Skip to content

Commit 434279c

Browse files
committed
Merge branch 'main' into text-to-speech
2 parents 0239ec9 + afe41b2 commit 434279c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build-types.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ if [[ "$PYTHON" == "true" ]]; then
7575
echo "Generating Python models..."
7676

7777
# Create a temporary directory for our container context
78-
TEMP_DIR=$(mktemp -d)
79-
78+
TEMP_DIR=$(mkdir -p "build/python" && cd "build/python" && pwd)
79+
8080
# Copy the OpenAPI file to the temp directory
8181
cp "$OPENAPI_FILE" "$TEMP_DIR/api.json"
8282

@@ -117,8 +117,8 @@ if [[ "$TYPESCRIPT" == "true" ]]; then
117117
echo "Generating TypeScript types..."
118118

119119
# Create a temporary directory for our container context
120-
TEMP_DIR=$(mktemp -d)
121-
120+
TEMP_DIR=$(mkdir -p "build/typescript" && cd "build/typescript" && pwd)
121+
122122
# Copy the OpenAPI file to the temp directory
123123
cp "$OPENAPI_FILE" "$TEMP_DIR/api.json"
124124

0 commit comments

Comments
 (0)