summaryrefslogtreecommitdiffstats
path: root/query
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-12-20 23:50:50 +0100
committertv <tv@shackspace.de>2014-12-20 23:50:50 +0100
commit4cb79a1d40ca4a74fe4423bbd18013b5abdb25b6 (patch)
treed6729ab521d0ee0a2bf029107e15f1e5a191ea6b /query
parent5c7c7d242fa943ec7a96de4a43efa3fc6b1ef77a (diff)
parentea7f640f19231e2fd9243671384f61c949baff09 (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'query')
-rwxr-xr-xquery/jquery/index19
-rwxr-xr-xquery/realpath/install41
-rwxr-xr-xquery/realpath/src/realpath.rb10
3 files changed, 0 insertions, 70 deletions
diff --git a/query/jquery/index b/query/jquery/index
deleted file mode 100755
index 3c49dac9..00000000
--- a/query/jquery/index
+++ /dev/null
@@ -1,19 +0,0 @@
-#! /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 "$@"
diff --git a/query/realpath/install b/query/realpath/install
deleted file mode 100755
index 74671c81..00000000
--- a/query/realpath/install
+++ /dev/null
@@ -1,41 +0,0 @@
-#! /bin/sh
-set -euf
-
-cd `dirname $0`
-
-target=../../bin/realpath
-
-findexe() {
- OLDIFS="$IFS"
- IFS=:
- for d in $PATH; do
- f="$d/$1"
- if test -f "$f" -a -x "$f"; then
- echo $f
- IFS="$OLDIFS"
- return
- fi
- done
- IFS="$OLDIFS"
- ! :
-}
-
-if exe="`findexe readlink`" && $exe -f install | grep -q /install$; then
- ! test -e $target || rm $target
- cat > $target <<EOF
-#! /bin/sh -euf
-exec $exe -f "\${1-\$file_name}"
-EOF
- chmod +x $target
- echo '//query/realpath: install readlink' >&2
- exit
-fi
-
-if type ruby 1>/dev/null 2>/dev/null; then
- ln -snf ../query/realpath/src/realpath.rb $target
- echo '//query/realpath: install realpath.rb' >&2
- exit
-fi
-
-echo 'Error 2: your system is made of stupid!'
-exit 23
diff --git a/query/realpath/src/realpath.rb b/query/realpath/src/realpath.rb
deleted file mode 100755
index 8e19785b..00000000
--- a/query/realpath/src/realpath.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env ruby
-
-begin
- $stdout.print File.realpath(ARGV[0])
- $stdout.print "\n"
-rescue Exception => err
- $stderr.print err
- $stderr.print "\n"
- exit 1
-end