From ae94de689dbfd14c2603f588244a614b4c574ed6 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Mon, 27 Jun 2011 12:46:59 +0000 Subject: [PATCH] * experimental/byobu-status-all: - intermediate commit, helper tool with some of the new logic --- debian/changelog | 2 ++ experimental/byobu-status-all | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100755 experimental/byobu-status-all diff --git a/debian/changelog b/debian/changelog index 219d5995..33f436eb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,6 +23,8 @@ byobu (4.14) unreleased; urgency=low - update copyright info, update email address, standardize headers * usr/lib/byobu/.shutil: - add frequencies + * experimental/byobu-status-all: + - intermediate commit, helper tool with some of the new logic -- Dustin Kirkland Thu, 16 Jun 2011 16:16:29 -0500 diff --git a/experimental/byobu-status-all b/experimental/byobu-status-all new file mode 100755 index 00000000..b68aec56 --- /dev/null +++ b/experimental/byobu-status-all @@ -0,0 +1,29 @@ +#!/bin/sh + +LIBDIR=/home/kirkland/src/byobu/byobu/usr/lib/byobu +. "$LIBDIR/.constants" +. "$LIBDIR/.shutil" + +mkdir -p "$CACHE_DIR/status" +for i in "$LIBDIR/"*; do + case "$i" in + */Makefile.am) + true + ;; + *time_binary) + true + ;; + *) + #printf "Sourcing [$i]...\n" + . "$i" + j=${i##*/} + #printf "Running [__$j]...[" + eval "__$j" > "$CACHE_DIR/status/$j" + #printf "]\n" + ;; + esac +done +exit 0 + + +[ -n "$2" ] && eval "__${1}_detail" || eval "__$1"