Skip to content

Commit d1b6739

Browse files
committed
Use SED_INPLACE for swagger-ui also
1 parent 393cc54 commit d1b6739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ swagger-ui:
241241
git clone --depth=10 -b v3.0.7 --single-branch https://github.com/swagger-api/swagger-ui.git /tmp/swagger-ui
242242
mv /tmp/swagger-ui/dist public/assets/swagger-ui
243243
rm -Rf /tmp/swagger-ui
244-
sed -i "s;http://petstore.swagger.io/v2/swagger.json;../../swagger.v1.json;g" public/assets/swagger-ui/index.html
244+
$(SED_INPLACE) "s;http://petstore.swagger.io/v2/swagger.json;../../swagger.v1.json;g" public/assets/swagger-ui/index.html
245245

246246
.PHONY: assets
247247
assets: javascripts stylesheets

0 commit comments

Comments
 (0)