* usr/lib/byobu/disk: LP: #904824

- fix escaping issue
This commit is contained in:
Dustin Kirkland 2011-12-18 20:39:23 -06:00
commit 043a0066ae
2 changed files with 7 additions and 3 deletions

5
debian/changelog vendored
View file

@ -1,5 +1,6 @@
byobu (4.55) unreleased; urgency=low byobu (4.55) unreleased; urgency=low
[ Dustin Kirkland ]
* usr/lib/byobu/entropy, usr/lib/byobu/include/shutil, * usr/lib/byobu/entropy, usr/lib/byobu/include/shutil,
usr/lib/byobu/Makefile.am, usr/share/byobu/status/status, usr/lib/byobu/Makefile.am, usr/share/byobu/status/status,
usr/share/man/man1/byobu.1: usr/share/man/man1/byobu.1:
@ -7,6 +8,10 @@ byobu (4.55) unreleased; urgency=low
- must use cat, can't use read in dash here - must use cat, can't use read in dash here
- use yellow on grey - use yellow on grey
[ Will Ellwood ]
* usr/lib/byobu/disk: LP: #904824
- fix escaping issue
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 09 Dec 2011 20:38:02 -0600 -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 09 Dec 2011 20:38:02 -0600
byobu (4.54-0ubuntu1) precise; urgency=low byobu (4.54-0ubuntu1) precise; urgency=low

View file

@ -44,9 +44,8 @@ __disk() {
g*|G*) unit="$ICON_GB" ;; g*|G*) unit="$ICON_GB" ;;
t*|T*) unit="$ICON_TB" ;; t*|T*) unit="$ICON_TB" ;;
esac esac
_UNIT=${unit}; _SIZE=${size}; _PCT=${pct}; color b M W; printf "%s" "$size"; color -; color M W; printf "%s" "$unit"; color -;
color b M W; printf "$_SIZE"; color -; color M W; printf "${_UNIT}"; color -; color b M W; printf "%s" "$pct"; color -; color M W; printf "%s" "$PCT"; color --;
color b M W; printf "$_PCT"; color -; color M W; printf "$PCT" ; color --;
} }
# vi: syntax=sh ts=4 noexpandtab # vi: syntax=sh ts=4 noexpandtab