aboutsummaryrefslogtreecommitdiffstats
path: root/gen_docs.sh
diff options
context:
space:
mode:
authorJonathan Zacsh2012-06-19 17:51:07 -0400
committerMisko Hevery2012-09-06 16:06:25 -0700
commita9be003fce4b42077448481b3b067c5f81c063f6 (patch)
tree842dc64787657c58af0a27e92524d52f7d2f69d2 /gen_docs.sh
parentca30fce28ca13284bfa1c926e810ed75cdcde499 (diff)
downloadangular.js-a9be003fce4b42077448481b3b067c5f81c063f6.tar.bz2
chore(docs): get correct location for jasmine-node
Diffstat (limited to 'gen_docs.sh')
-rwxr-xr-xgen_docs.sh5
1 files changed, 2 insertions, 3 deletions
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