Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
deleting comments and empty lines in single command
Browse files Browse the repository at this point in the history
  • Loading branch information
nu7hatch committed Aug 8, 2013
1 parent 56b9608 commit a091fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/johnny_deps
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a091fe5

Please sign in to comment.