Displaying 2 results from an estimated 2 matches for "scripts_path".
Did you mean:
script_path
2017 Feb 21
3
[PATCH 1/3] dib: unset all temporary dirs envvars in fake-sudo
The real sudo does it as well, and leaving them when preserving the
environment (-E) maybe breaks the applications, as e.g. chroot will have
a TMPDIR path pointing outside of it.
---
dib/dib.ml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dib/dib.ml b/dib/dib.ml
index df83ba1..d15cd19 100644
--- a/dib/dib.ml
+++ b/dib/dib.ml
@@ -301,6 +301,11 @@ if [ -z \"$preserve_env\" ];
2017 Feb 21
0
[PATCH 3/3] dib: rename "aux" to "in_target.aux"
..._target.aux/perm/" ^ (log_filename ()) in
let arch =
match cmdline.arch with
@@ -649,7 +649,7 @@ let main () =
*)
match hook with
| "pre-install.d" | "install.d" | "post-install.d" | "finalise.d" ->
- let scripts_path = "/tmp/aux/hooks/" ^ hook in
+ let scripts_path = "/tmp/in_target.aux/hooks/" ^ hook in
(* Cleanly handle cases when the phase directory does not exist. *)
if g#is_dir ~followsymlinks:true scripts_path then
load_scripts g scripts_path...