Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2021-04-21 15:32:01 +0300
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2021-04-21 15:33:16 +0300
commit0b72ebb264acc1f95ff9547dacb2ca3f2924682e (patch)
tree6cbf358683276a48b694fe4c80e460c39ef0a202 /Makefile.build.mk
parent7250a994989f44c8bc3b83f60cba564cd3c3a74e (diff)
Fix permission error by using native go command in make clean
Diffstat (limited to 'Makefile.build.mk')
-rw-r--r--Makefile.build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.build.mk b/Makefile.build.mk
index debd1941..90f8b5ac 100644
--- a/Makefile.build.mk
+++ b/Makefile.build.mk
@@ -19,7 +19,7 @@ build: .GOPATH/.ok
$Q GOBIN=$(CURDIR)/bin go install $(if $V,-v) $(VERSION_FLAGS) -tags "${GO_BUILD_TAGS}" -buildmode exe $(IMPORT_PATH)
clean:
- $Q rm -rf bin .GOPATH gitlab-pages
+ $Q GOBIN=$(CURDIR)/bin go clean -i -modcache -x
gitlab-pages: build
$Q cp -f ./bin/gitlab-pages .