build: add build tag noselfupdate
Allow downstream packaging to build rclone without selfupdate command: $ go build -tags noselfupdate Fixes #5187
This commit is contained in:
parent
7df57cd625
commit
9eab258ffb
12 changed files with 37 additions and 2 deletions
5
cmd/selfupdate_disabled.go
Normal file
5
cmd/selfupdate_disabled.go
Normal file
|
@ -0,0 +1,5 @@
|
|||
// +build noselfupdate
|
||||
|
||||
package cmd
|
||||
|
||||
const selfupdateEnabled = false
|
Loading…
Add table
Add a link
Reference in a new issue