[coreboot] [BuildROM] r271 - buildrom-devel/bin
svn at coreboot.org
svn at coreboot.org
Wed Sep 2 23:41:13 CEST 2009
Author: ward
Date: 2009-09-02 23:41:13 +0200 (Wed, 02 Sep 2009)
New Revision: 271
Modified:
buildrom-devel/bin/show-instructions.sh
Log:
Build fix: add a fallback for systems where tempfile is missing
Signed-off-by: Bernie Innocenti <bernie at codewiz.org>
Acked-by: Ward Vandewege <ward at gnu.org>
Modified: buildrom-devel/bin/show-instructions.sh
===================================================================
--- buildrom-devel/bin/show-instructions.sh 2009-08-24 16:10:31 UTC (rev 270)
+++ buildrom-devel/bin/show-instructions.sh 2009-09-02 21:41:13 UTC (rev 271)
@@ -1,6 +1,6 @@
#!/bin/sh
-tmp=`tempfile`
+tmp=`tempfile 2>/dev/null || echo /tmp/show-instructions.$$`
cat $1 | sed -e "s:%DESTFILE%:$2:" > $tmp
if [ -x `dirname $0`/../scripts/kconfig/lxdialog/lxdialog ]; then
More information about the coreboot
mailing list