mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
* experimental/byobu-status-all:
- intermediate commit, helper tool with some of the new logic
This commit is contained in:
parent
c403ddb1f1
commit
ae94de689d
2 changed files with 31 additions and 0 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -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 <kirkland@ubuntu.com> Thu, 16 Jun 2011 16:16:29 -0500
|
||||
|
||||
|
|
29
experimental/byobu-status-all
Executable file
29
experimental/byobu-status-all
Executable file
|
@ -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"
|
Loading…
Add table
Add a link
Reference in a new issue