diff --git a/bin/johnny_deps b/bin/johnny_deps index 2f4fe4f..0f1168b 100755 --- a/bin/johnny_deps +++ b/bin/johnny_deps @@ -11,7 +11,7 @@ set -eu root=$PWD godeps=${1-"Godeps"} -deps=$(sed -e 's/#.*//' < "$godeps" | grep -P ".+") +deps=$(sed 's/#.*//;/^\s*$/d' < "$godeps") while read package version; do go get -v -u -d "$package"