diff --git a/cmd/serve/ftp/ftp.go b/cmd/serve/ftp/ftp.go index a925917a7..b6b038d04 100644 --- a/cmd/serve/ftp/ftp.go +++ b/cmd/serve/ftp/ftp.go @@ -1,6 +1,6 @@ // Package ftp implements an FTP server for rclone -//+build !plan9 +//+build !plan9,go1.13 package ftp diff --git a/cmd/serve/ftp/ftp_test.go b/cmd/serve/ftp/ftp_test.go index 215f692d0..1d5698ea8 100644 --- a/cmd/serve/ftp/ftp_test.go +++ b/cmd/serve/ftp/ftp_test.go @@ -3,7 +3,7 @@ // // We skip tests on platforms with troublesome character mappings -//+build !windows,!darwin,!plan9 +//+build !windows,!darwin,!plan9,go1.13 package ftp diff --git a/cmd/serve/ftp/ftp_unsupported.go b/cmd/serve/ftp/ftp_unsupported.go index 76b4b2ecf..9cda63eb7 100644 --- a/cmd/serve/ftp/ftp_unsupported.go +++ b/cmd/serve/ftp/ftp_unsupported.go @@ -1,7 +1,7 @@ // Build for unsupported platforms to stop go complaining // about "no buildable Go source files " -// +build plan9 +// +build plan9 !go1.13 package ftp