summaryrefslogtreecommitdiffstats
path: root/query/jquery/index
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-09-06 21:22:54 +0200
committermakefu <github@syntax-fehler.de>2011-09-06 21:22:54 +0200
commit93fc9d2eb6bd59858453f20ad23bd241b4ebab29 (patch)
tree34a33e7d00f289d7bed0a518cf4215601f46e8bf /query/jquery/index
parentc5b5d61f276a5ac4d2243db48e7e8afc5323679d (diff)
parent229b805732cc34c30bb287aa750fbd14df94cc81 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'query/jquery/index')
-rwxr-xr-xquery/jquery/index19
1 files changed, 19 insertions, 0 deletions
diff --git a/query/jquery/index b/query/jquery/index
new file mode 100755
index 00000000..3c49dac9
--- /dev/null
+++ b/query/jquery/index
@@ -0,0 +1,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 "$@"