From c992de45a34141c1e3c57a22524e4c04e2929ab8 Mon Sep 17 00:00:00 2001 From: Robby Colvin Date: Tue, 18 Jun 2013 14:07:36 -0700 Subject: [PATCH] Fix for find in Linux --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index be03913d8..8c49964ea 100755 --- a/build.sh +++ b/build.sh @@ -12,7 +12,7 @@ echo "${OK_COLOR}--> Compiling Packer${NO_COLOR}" go build -v -o bin/packer . # Go over each plugin and build it -for PLUGIN in $(find ./plugin -type d -mindepth 1 -maxdepth 1); do +for PLUGIN in $(find ./plugin -mindepth 1 -maxdepth 1 -type d); do PLUGIN_NAME=$(basename ${PLUGIN}) echo "${OK_COLOR}--> Compiling Plugin: ${PLUGIN_NAME}${NO_COLOR}" go build -v -o bin/packer-${PLUGIN_NAME} ${PLUGIN}