summaryrefslogtreecommitdiffstats
path: root/assets/bin/check-truth
diff options
context:
space:
mode:
authorlassulus <death@marm.(none)>2011-12-15 19:03:40 +0100
committerlassulus <death@marm.(none)>2011-12-15 19:03:40 +0100
commit312589b41522e937c6e27256a4cdad44c31f99c3 (patch)
tree0b5d7c001e1326d6ae07f2e8a8b95508c425f718 /assets/bin/check-truth
parent204199490c8720b50137553ed31284185df248df (diff)
modified ass
Diffstat (limited to 'assets/bin/check-truth')
-rwxr-xr-xassets/bin/check-truth2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/bin/check-truth b/assets/bin/check-truth
index 6b55fdcd..064a7d97 100755
--- a/assets/bin/check-truth
+++ b/assets/bin/check-truth
@@ -1,7 +1,7 @@
#!/bin/sh
set -euf
-DB=${1-"/krebs/db/truth"}
HERE=$(dirname $(readlink -f $0))
+DB="$HERE/../../db/truth"
read LINE
if (cat $DB;echo $LINE) | $HERE/truth2json - 1>/dev/null ;then
echo "success" 1>&2