summaryrefslogtreecommitdiffstats
path: root/assets/bin
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-12-15 18:19:17 +0100
committermakefu <github@syntax-fehler.de>2011-12-15 18:19:17 +0100
commit204199490c8720b50137553ed31284185df248df (patch)
tree050c22291e1b0201b4d4ebb5b6174e98bbdd1613 /assets/bin
parent8b9e41f1e1fed4f33775bf5eb5f498fd6c4de4f0 (diff)
//assets/bin/ass: add relative path
Diffstat (limited to 'assets/bin')
-rwxr-xr-xassets/bin/ass5
1 files changed, 2 insertions, 3 deletions
diff --git a/assets/bin/ass b/assets/bin/ass
index c82a2565..cb2c0440 100755
--- a/assets/bin/ass
+++ b/assets/bin/ass
@@ -2,10 +2,9 @@
set -euf
-DB="/krebs/db"
-JOURNAL="$DB/truth"
HERE=$(dirname $(readlink -f $0))
-
+DB="$HERE/../../../krebs/db"
+JOURNAL="$DB/truth"
(cd $DB && git pull >/dev/null && echo "pulled new version")
METHOD="$1"; shift