Changeset 231

Show
Ignore:
Timestamp:
09/22/08 23:30:20 (2 months ago)
Author:
jcrouse
Message:

If lxdialog doesn't exist for some reason, then output the instructions
to stdout. Trivial.

Signed-off-by: Jordan Crouse <jordan.crouse@…>
Acked-by: Jordan Crouse <jordan.crouse@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • buildrom-devel/bin/show-instructions.sh

    r230 r231  
    33tmp=`tempfile` 
    44cat $1 | sed -e "s:%DESTFILE%:$2:" > $tmp 
     5 
     6if [ -x `dirname $0`/../scripts/kconfig/lxdialog/lxdialog ]; then 
    57`dirname $0`/../scripts/kconfig/lxdialog/lxdialog --textbox $tmp 20 75 
     8else 
     9cat $tmp 
     10fi 
    611rm -rf $tmp 
    712