Author: jcrouse
Date: 2008-09-22 23:30:20 +0200 (Mon, 22 Sep 2008)
New Revision: 231

Modified:
   buildrom-devel/bin/show-instructions.sh
Log:
If lxdialog doesn't exist for some reason, then output the instructions
to stdout.  Trivial.

Signed-off-by: Jordan Crouse <[EMAIL PROTECTED]>
Acked-by: Jordan Crouse <[EMAIL PROTECTED]>


Modified: buildrom-devel/bin/show-instructions.sh
===================================================================
--- buildrom-devel/bin/show-instructions.sh     2008-09-22 21:06:10 UTC (rev 
230)
+++ buildrom-devel/bin/show-instructions.sh     2008-09-22 21:30:20 UTC (rev 
231)
@@ -2,6 +2,11 @@
 
 tmp=`tempfile`
 cat $1 | sed -e "s:%DESTFILE%:$2:" > $tmp
+
+if [ -x `dirname $0`/../scripts/kconfig/lxdialog/lxdialog ]; then
 `dirname $0`/../scripts/kconfig/lxdialog/lxdialog --textbox $tmp 20 75
+else
+cat $tmp
+fi
 rm -rf $tmp
 


--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to