trying something

This commit is contained in:
inxi-svn 2008-11-24 00:08:25 +00:00
parent 044e6eccbe
commit 1dcf47bdba

4
inxi
View file

@ -333,11 +333,11 @@ script_debugger()
# for dcop to work, must use 'say' operator, AND colors must be evaluated by echo -e # for dcop to work, must use 'say' operator, AND colors must be evaluated by echo -e
print_screen_output() print_screen_output()
{ {
local print_data="$( echo -e $1 )" local print_data="$( echo -e "$1" )"
if [[ $DEBUG -gt 5 ]];then if [[ $DEBUG -gt 5 ]];then
if [[ $KONVI -eq 1 ]];then if [[ $KONVI -eq 1 ]];then
dcop "$DCPORT" "$DCOPOBJ" say "$DCSERVER" "$DCTARGET" "konvi='$KONVI' saying : '$print_data'" dcop "$DCPORT" "$DCOPOBJ" say "$DCSERVER" "$DCTARGET" "konvi='$KONVI' saying : '$print_data'"
elif [[ $KONVI -eq 2 ]];then elif [[ $KONVI -eq 2 ]];then
echo "konvi='$KONVI' saying : '$print_data'" echo "konvi='$KONVI' saying : '$print_data'"
else else