Skip to content

Instantly share code, notes, and snippets.

@runcom
Last active August 29, 2015 14:25
Show Gist options
  • Save runcom/5b03b09c8b6d401796b9 to your computer and use it in GitHub Desktop.
Save runcom/5b03b09c8b6d401796b9 to your computer and use it in GitHub Desktop.
diff --git a/hack/make/validate-lint b/hack/make/validate-lint
index 870b6c0..0683d6a 100644
--- a/hack/make/validate-lint
+++ b/hack/make/validate-lint
@@ -30,7 +30,7 @@ packages=(
)
errors=()
-for p in "$packages"; do
+for p in "${packages[@]}"; do
failedLint=$(golint "github.com/docker/docker/$p")
if [ "$failedLint" ]; then
errors+=( "$failedLint" )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment