diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-07-13 06:09:29 -0500 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-07-13 14:09:29 +0300 |
commit | f011d6d4d7a53a99c9d213f686412513fe78d6a7 (patch) | |
tree | e8dba28d8abe85d9fdf204a5ddf8196b406462e3 /Makefile | |
parent | b639fa16481cdd32f491a8267fc83a5a472f9093 (diff) | |
download | gitea-f011d6d4d7a53a99c9d213f686412513fe78d6a7.tar.gz gitea-f011d6d4d7a53a99c9d213f686412513fe78d6a7.zip |
fix: replace tmp with TMPDIR. (#2152)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -282,9 +282,9 @@ public/css/index.css: $(STYLESHEETS) .PHONY: swagger-ui swagger-ui: rm -Rf public/assets/swagger-ui - git clone --depth=10 -b v3.0.7 --single-branch https://github.com/swagger-api/swagger-ui.git /tmp/swagger-ui - mv /tmp/swagger-ui/dist public/assets/swagger-ui - rm -Rf /tmp/swagger-ui + git clone --depth=10 -b v3.0.7 --single-branch https://github.com/swagger-api/swagger-ui.git $(TMPDIR)/swagger-ui + mv $(TMPDIR)/swagger-ui/dist public/assets/swagger-ui + rm -Rf $(TMPDIR)/swagger-ui $(SED_INPLACE) "s;http://petstore.swagger.io/v2/swagger.json;../../swagger.v1.json;g" public/assets/swagger-ui/index.html .PHONY: update-translations |