All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] configure.ac: Fix temperory directory ./confXXXXXX not cleanup
@ 2024-10-14  0:53 Li Zhijian via ltp
  2024-10-14  6:40 ` Li Wang
  2024-10-14  9:18 ` Petr Vorel
  0 siblings, 2 replies; 4+ messages in thread
From: Li Zhijian via ltp @ 2024-10-14  0:53 UTC (permalink / raw)
  To: ltp

configure
 ->config.status
  -> create temperory directory ./confXXXXXX
  -> cd include/lapi/syscalls
  -> ./regen.sh
  -> cleanup ./confXXXXXX, registered in trap

Where config.status changes the working directory, ./confXXXXXX is not
removed as a result.

Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index b4ab81e265..d327974efa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -386,7 +386,7 @@ else
     AC_SUBST([WITH_REALTIME_TESTSUITE],["no"])
 fi
 
-AC_CONFIG_COMMANDS([syscalls.h], [cd ${ac_top_srcdir}/include/lapi/syscalls; ./regen.sh])
+AC_CONFIG_COMMANDS([syscalls.h], [cd ${ac_top_srcdir}/include/lapi/syscalls; ./regen.sh; cd - >/dev/null])
 
 # custom functions
 # NOTE: don't create custom functions for simple checks, put them into this file
-- 
2.41.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-15  1:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-14  0:53 [LTP] [PATCH] configure.ac: Fix temperory directory ./confXXXXXX not cleanup Li Zhijian via ltp
2024-10-14  6:40 ` Li Wang
2024-10-14  9:18 ` Petr Vorel
2024-10-15  1:14   ` Zhijian Li (Fujitsu) via ltp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.