Skip to content

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
DerrickWood committed Mar 27, 2014
1 parent 03c8856 commit b782b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/check_for_jellyfish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
# along with Kraken. If not, see <http://www.gnu.org/licenses/>.

# Check that jellyfish is executable and is proper version
# Designed to be called by kraken_build
# Designed to be called by kraken-build

set -u # Protect against uninitialized vars.
set -e # Stop on error
set -o pipefail # Stop on failures in non-final pipeline commands

JELLYFISH_VERSION=$(jellyfish --version | awk '{print $2}')
if [[ $JELLYFISH_VERSION =~ '^1\.' ]]
if [[ $JELLYFISH_VERSION =~ ^1\. ]]
then
echo "Found jellyfish v$JELLYFISH_VERSION"
else
Expand Down

0 comments on commit b782b1f

Please sign in to comment.