summaryrefslogtreecommitdiffstats
path: root/query/jquery/index
blob: 3c49dac921084dcacb3b6946ba5fc811b660322f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh
set -euf

# cd //
cd $(dirname $(readlink -f $0))/../..

for x in \
    github/tmpvar         \
    github/mikeal         \
    github/NV             \
    github/tautologistics \
; do
  export NODE_PATH="$(readlink -f submodules/$x)${NODE_PATH+:$NODE_PATH}"
done

# ensure query is ready
#git submodule update --init

exec node submodules/github/visionmedia/query "$@"