From a9be003fce4b42077448481b3b067c5f81c063f6 Mon Sep 17 00:00:00 2001 From: Jonathan Zacsh Date: Tue, 19 Jun 2012 17:51:07 -0400 Subject: chore(docs): get correct location for jasmine-node --- gen_docs.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gen_docs.sh') diff --git a/gen_docs.sh b/gen_docs.sh index 92817c5a..039daa46 100755 --- a/gen_docs.sh +++ b/gen_docs.sh @@ -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 -- cgit v1.2.3