File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -282,9 +282,9 @@ public/css/index.css: $(STYLESHEETS)
282
282
.PHONY : swagger-ui
283
283
swagger-ui :
284
284
rm -Rf public/assets/swagger-ui
285
- git clone --depth=10 -b v3.0.7 --single-branch https://github.com/swagger-api/swagger-ui.git /tmp /swagger-ui
286
- mv /tmp /swagger-ui/dist public/assets/swagger-ui
287
- rm -Rf /tmp /swagger-ui
285
+ git clone --depth=10 -b v3.0.7 --single-branch https://github.com/swagger-api/swagger-ui.git $( TMPDIR ) /swagger-ui
286
+ mv $( TMPDIR ) /swagger-ui/dist public/assets/swagger-ui
287
+ rm -Rf $( TMPDIR ) /swagger-ui
288
288
$(SED_INPLACE ) " s;http://petstore.swagger.io/v2/swagger.json;../../swagger.v1.json;g" public/assets/swagger-ui/index.html
289
289
290
290
.PHONY : update-translations
You can’t perform that action at this time.
0 commit comments