mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 10:25:03 +01:00
9eab258ffb
Allow downstream packaging to build rclone without selfupdate command: $ go build -tags noselfupdate Fixes #5187
8 lines
196 B
Go
8 lines
196 B
Go
// +build !noselfupdate
|
|
|
|
package cmd
|
|
|
|
// This constant must be in the `cmd` package rather than `cmd/selfupdate`
|
|
// to prevent build failure due to dependency loop.
|
|
const selfupdateEnabled = true
|