From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lxh-sysa-011.node.capitar.com (lxh-sysa-011.node.capitar.com [176.31.125.55]) by sourceware.org (Postfix) with ESMTPS id B9AB53858C33 for ; Thu, 19 Jan 2023 17:55:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B9AB53858C33 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=GMail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vsmeets.nl Received: from PC-Vincent.vsmeets.nl (unknown [85.150.201.88]) by m7-mail-relay-p01.zt.capitar.com (Postfix) with ESMTP id 3C6E833906; Thu, 19 Jan 2023 18:55:22 +0100 (CET) Received: from vincent by PC-Vincent.vsmeets.nl with local (Exim 4.96) (envelope-from ) id 1pIZ8D-0006mT-1r; Thu, 19 Jan 2023 18:55:21 +0100 From: Vincent Smeets To: gdb-patches@sourceware.org Cc: Vincent Smeets Subject: [PATCH 5/7] gprof: build with mktemp Date: Thu, 19 Jan 2023 18:55:05 +0100 Message-Id: <20230119175507.25046-6-Vincent.VSmeets@GMail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230119175507.25046-1-Vincent.VSmeets@GMail.com> References: <20230119175507.25046-1-Vincent.VSmeets@GMail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=aIiOVo1m c=1 sm=1 tr=0 a=lXYvOTk0js8zacgGuor68g==:117 a=lXYvOTk0js8zacgGuor68g==:17 a=RvmDmJFTN0MA:10 a=x7bEGLp0ZPQA:10 a=0goVqbi9XAQA:10 a=jdu5a--z8oSt2VA5q6MA:9 a=Uz9EnhuHEG25YKoRyM-d:22 X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,GIT_PATCH_0,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --- gprof/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gprof/Makefile.am b/gprof/Makefile.am index 790f8af5..11451d7e 100644 --- a/gprof/Makefile.am +++ b/gprof/Makefile.am @@ -71,8 +71,9 @@ CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/development.sh POTFILES = $(sources) $(noinst_HEADERS) 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 MANCONF = -Dman -- 2.39.0