diff options
author | root <root@kremium> | 2011-12-07 12:42:09 +0100 |
---|---|---|
committer | root <root@kremium> | 2011-12-07 12:44:55 +0100 |
commit | 9b77caeac2409a70010c22b12f843b1dcc29cfb7 (patch) | |
tree | 3e8dbbc3b47a6931e60716c94c4d42bbf1e03083 /assets/bin/ass | |
parent | c1f839101be7d48f6e918e9e969cf0fc3d743ea4 (diff) | |
parent | dc9f6a510182b6947a8ee58b1940dd4ce2a32fd7 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Conflicts:
assets/bin/ass
Diffstat (limited to 'assets/bin/ass')
-rwxr-xr-x | assets/bin/ass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/assets/bin/ass b/assets/bin/ass index 87b750d3..c82a2565 100755 --- a/assets/bin/ass +++ b/assets/bin/ass @@ -4,6 +4,7 @@ set -euf DB="/krebs/db" JOURNAL="$DB/truth" +HERE=$(dirname $(readlink -f $0)) (cd $DB && git pull >/dev/null && echo "pulled new version") @@ -11,10 +12,10 @@ METHOD="$1"; shift case $METHOD in "create") - echo "`date --utc --rfc-3339=ns` create $1" | check-truth | tee -a $JOURNAL + echo "`date --utc --rfc-3339=ns` create $1" | $HERE/check-truth | tee -a $JOURNAL ;; "set") - echo "`date --utc --rfc-3339=ns` set $1 $2 $3" | check-truth | tee -a $JOURNAL + echo "`date --utc --rfc-3339=ns` set $1 $2 $3" | $HERE/check-truth | tee -a $JOURNAL ;; *) echo "you are made of stupid!" |