Skip to content

Commit

Permalink
fix for pyadam to recognize >1 egg file
Browse files Browse the repository at this point in the history
  • Loading branch information
akmorrow13 authored and heuermh committed Jan 25, 2018
1 parent c5b4ebc commit 2ec9f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/find-adam-egg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ else
fi

DIST_EGG=$(ls -1 "$DIST_DIR" | grep "^bdgenomics\.adam[0-9A-Za-z\.\_\-]*.egg$" || true)
num_egg=$(echo ${DIST_EGG} | wc -l)
num_egg=$(echo ${DIST_EGG} | wc -w)

if [ "$num_egg" -eq "0" ]; then
echo "Failed to find ADAM egg in $DIST_DIR." 1>&2
Expand Down

0 comments on commit 2ec9f1c

Please sign in to comment.