Commit 2e6d0c4163963af391b33946aa967b6e08c47fa4

Authored by Shrikant Sharat
1 parent 015b9e5e9c

Fix #5. Ignore spaces in lines given to `-bundles`.

When the input to `antigen-bundles` contains lines that are completely made up
of white space, the command fails to ignore that line. This is now fixed.

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -63,7 +63,7 @@ antigen-bundles () {
63 63  
64 64 local line
65 65  
66   - grep -v '^$\|^#' | while read line; do
  66 + grep -v '^\s*$\|^#' | while read line; do
67 67 # Using `eval` so that we can use the shell-style quoting in each line
68 68 # piped to `antigen-bundles`.
69 69 eval "antigen-bundle $line"