Tea Inside Mailing List <[email protected]>
 help / color / mirror / Atom feed
From: Ammar Faizi <[email protected]>
To: Tea Inside Mailing List <[email protected]>
Cc: GNU/Weeb Mailing List <[email protected]>,
	Ammar Faizi <[email protected]>,
	Ammar Faizi <[email protected]>,
	Nugra <[email protected]>
Subject: [PATCH teavpn2] configure: Touch the temporary files after `mktemp -d`
Date: Mon, 14 Feb 2022 13:06:05 +0700	[thread overview]
Message-ID: <[email protected]> (raw)

Commit e9a3cae5d9e9d4 ("configure: Support busybox mktemp") didn't
add `touch` command after creating the temporary directory.

Let's touch the temporary files after creating the temporary
directory.

Fixes: e9a3cae5d9e9d4b6539eff376765bad1ca24064f ("configure: Support busybox mktemp")
Cc: Nugra <[email protected]>
Signed-off-by: Ammar Faizi <[email protected]>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index b7a0378..663f2c6 100755
--- a/configure
+++ b/configure
@@ -124,6 +124,7 @@ TMPC2="$TMP_DIRECTORY/tmpfile-2.c"
 TMPO="$TMP_DIRECTORY/tmpfile.o"
 TMPE="$TMP_DIRECTORY/tmpfile.exe"
 
+touch $TMPC $TMPC2 $TMPO $TMPE
 # NB: do not call "exit" in the trap handler; this is buggy with some shells;
 # see <[email protected]>
 trap "rm -rf $TMP_DIRECTORY" EXIT INT QUIT TERM

base-commit: 2cdd164dae82d12fe602c227b22b4c0090939928
-- 
Ammar Faizi


                 reply	other threads:[~2022-02-14  6:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox