summaryrefslogtreecommitdiffstats
path: root/Cancer/query/jquery/index
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-12-30 03:57:10 +0100
committermakefu <github@syntax-fehler.de>2013-12-30 03:57:10 +0100
commit17890aed8488845cd38aac917596048f3f716387 (patch)
treee6c9bdcc43154598850f055bb728c307ccb88517 /Cancer/query/jquery/index
parent25f7b33bf43e4d7a049eb1f4885d24f24ac1dca9 (diff)
//query -> //Cancer
Diffstat (limited to 'Cancer/query/jquery/index')
-rwxr-xr-xCancer/query/jquery/index19
1 files changed, 19 insertions, 0 deletions
diff --git a/Cancer/query/jquery/index b/Cancer/query/jquery/index
new file mode 100755
index 00000000..3c49dac9
--- /dev/null
+++ b/Cancer/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 "$@"