[2/7] binutils: build with mktemp
Commit Message
---
binutils/Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
@@ -182,8 +182,9 @@ LIBIBERTY = ../libiberty/libiberty.a
POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
po/POTFILES.in: @MAINT@ Makefile
- for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
- && mv tmp $(srcdir)/po/POTFILES.in
+ tmp=`mktemp --tmpdir=. POTFILES.XXXXXX.in`; \
+ for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > $$tmp \
+ && mv $$tmp $(srcdir)/po/POTFILES.in
EXPECT = expect
RUNTEST = runtest