9eab258ffb
Allow downstream packaging to build rclone without selfupdate command: $ go build -tags noselfupdate Fixes #5187
11 lines
171 B
Go
11 lines
171 B
Go
// +build noselfupdate
|
|
|
|
package selfupdate
|
|
|
|
import (
|
|
"github.com/rclone/rclone/lib/buildinfo"
|
|
)
|
|
|
|
func init() {
|
|
buildinfo.Tags = append(buildinfo.Tags, "noselfupdate")
|
|
}
|