aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Zacsh2012-06-19 17:51:07 -0400
committerMisko Hevery2012-09-06 15:54:19 -0700
commitf02833d63443bd14a5bf2625f3ac9eb072809b4e (patch)
treedec76ecc8bed980ef28beb96aa45af0102211742
parent0eb373e0e65283d030a98e14138e86c31c653001 (diff)
downloadangular.js-f02833d63443bd14a5bf2625f3ac9eb072809b4e.tar.bz2
chore(docs): get correct location for jasmine-node
-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