File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ if [[ "$PYTHON" == "true" ]]; then
75
75
echo " Generating Python models..."
76
76
77
77
# 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
+
80
80
# Copy the OpenAPI file to the temp directory
81
81
cp " $OPENAPI_FILE " " $TEMP_DIR /api.json"
82
82
@@ -117,8 +117,8 @@ if [[ "$TYPESCRIPT" == "true" ]]; then
117
117
echo " Generating TypeScript types..."
118
118
119
119
# 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
+
122
122
# Copy the OpenAPI file to the temp directory
123
123
cp " $OPENAPI_FILE " " $TEMP_DIR /api.json"
124
124
You can’t perform that action at this time.
0 commit comments