From d798967da76959c13fb4661c2fac4fdd961ab6eb Mon Sep 17 00:00:00 2001 From: Gordon Hecker Date: Fri, 25 Jun 2010 16:15:32 +0200 Subject: [PATCH] plugin support: store working directory at startup for use with plugins Signed-off-by: Gordon Hecker --- local/e2tool.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/local/e2tool.lua b/local/e2tool.lua index 6481396..9df3eb8 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -390,6 +390,9 @@ function local_init(path, tool) -- initialization info.current_tool = tool + -- provide the current working directory at tool startup + info.startup_cwd = e2util.cwd() + -- set the umask value to be used in chroot info.chroot_umask = 18 -- 0022 octal init_umask(info) -- 2.39.5