Skip to content

Commit

Permalink
chore(docs): get correct location for jasmine-node
Browse files Browse the repository at this point in the history
  • Loading branch information
jzacsh authored and mhevery committed Sep 6, 2012
1 parent ca30fce commit a9be003
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gen_docs.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/usr/bin/env bash

JASMINE_NODE='jasmine-node'
if ! type -p "$JASMINE_NODE" >/dev/null 2>&1;then
# Locally (npm)-installed jasmine-node
local_jasmine='./node_modules/.bin/jasmine-node'
local_jasmine='./node_modules/.bin/jasmine-node'

if ! type -p "$JASMINE_NODE" >/dev/null 2>&1;then
if [[ -x "$local_jasmine" ]];then
JASMINE_NODE="$local_jasmine"
else
Expand Down

0 comments on commit a9be003

Please sign in to comment.