From 7b9ebed75dc7f2d7986909fb3026b538238ccc0d Mon Sep 17 00:00:00 2001 From: Aaron Lehmann Date: Wed, 29 Mar 2017 14:04:43 -0700 Subject: [PATCH] plugins: Rename plugins_linux.go to plugins_unix.go and use build tags This allows pkg/authorization to build on OS X. Signed-off-by: Aaron Lehmann Upstream-commit: 3da119282806187079b1a6dfdfb0de7631a78647 Component: engine --- .../engine/pkg/plugins/{plugins_linux.go => plugins_unix.go} | 2 ++ 1 file changed, 2 insertions(+) rename components/engine/pkg/plugins/{plugins_linux.go => plugins_unix.go} (91%) diff --git a/components/engine/pkg/plugins/plugins_linux.go b/components/engine/pkg/plugins/plugins_unix.go similarity index 91% rename from components/engine/pkg/plugins/plugins_linux.go rename to components/engine/pkg/plugins/plugins_unix.go index 9c5a0b5632..02f1da69a1 100644 --- a/components/engine/pkg/plugins/plugins_linux.go +++ b/components/engine/pkg/plugins/plugins_unix.go @@ -1,3 +1,5 @@ +// +build !windows + package plugins // BasePath returns the path to which all paths returned by the plugin are relative to.