summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-13 14:07:50 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-13 14:07:50 +0000
commita095740cc14bec18cf3ca60df33d6ad82ed3d398 (patch)
tree98758690fd88e072988eceb1b0becc595fba07e6
parent63e731f8c7d9a7c982bab50a0b14728af13c2557 (diff)
- do not fail if mktemp is not available.
Thanks to Peter Mazinger for the report. (r24023 from branch)
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 4969cbfa5..b115eb2b5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -159,7 +159,7 @@ include/bits/sysnum.h: $(top_srcdir)extra/scripts/gen_bits_syscall_h.sh
@$(disp_gen)
$(Q)set -e; \
cd $(top_builddir); \
- tmp=`mktemp include/bits/sysnum.h.XXXXXX 2>/dev/null`; \
+ tmp=`mktemp include/bits/sysnum.h.XXXXXX 2>/dev/null || true`; \
[ -z "$$tmp" ] && tmp='include/bits/sysnum.h.new'; \
KERNEL_HEADERS="${KERNEL_HEADERS}" top_builddir=. CC="$(CC) $(CPU_CFLAGS)" $(SHELL) extra/scripts/gen_bits_syscall_h.sh > $$tmp; \
if cmp include/bits/sysnum.h $$tmp >/dev/null 2>&1; then \