Tea Inside Mailing List <[email protected]>
 help / color / mirror / Atom feed
* [PATCH teavpn2] configure: Touch the temporary files after `mktemp -d`
@ 2022-02-14  6:06 Ammar Faizi
  0 siblings, 0 replies; only message in thread
From: Ammar Faizi @ 2022-02-14  6:06 UTC (permalink / raw)
  To: Tea Inside Mailing List
  Cc: GNU/Weeb Mailing List, Ammar Faizi, Ammar Faizi, Nugra

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-14  6:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14  6:06 [PATCH teavpn2] configure: Touch the temporary files after `mktemp -d` Ammar Faizi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox