diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-07-23 16:30:31 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-07-23 16:30:31 +0200 |
commit | b0666b13900b6f563728fdd4d160343f016f7a22 (patch) | |
tree | 46c978f6dbcf42b1c34104f53e2e0bdd41913284 | |
parent | f71bc5671244b33858c9fc05aa4498c61d035d93 (diff) | |
download | xtools-b0666b13900b6f563728fdd4d160343f016f7a22.tar.gz xtools-b0666b13900b6f563728fdd4d160343f016f7a22.tar.xz xtools-b0666b13900b6f563728fdd4d160343f016f7a22.zip |
add xbarf v0.26
-rwxr-xr-x | xbarf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/xbarf b/xbarf new file mode 100755 index 0000000..84952fa --- /dev/null +++ b/xbarf @@ -0,0 +1,13 @@ +#!/bin/sh +# xbarf - display build logs of last build + +cd $(xdistdir) && +logdir="$(ls -1td masterdir*/builddir/.xbps-* | sed 1q)" && +ls -1tr "$logdir"/*.log | + grep -v _bdep_ | + while read -r file; do + printf "==> %s\n" "${file##*/}" + cat "$file" + printf "\n\n" + done | + less -R '+/==>' |