Displaying 2 results from an estimated 2 matches for "54ea2ae".
2017 Feb 14
0
[PATCH 01/10] dib: fix listing envvars in fake-sudo
...environment variables, instead of trying to
extract the list from the output of `env`: the old approach breaks when
any of the environment variable contains more than one line.
---
dib/dib.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dib/dib.ml b/dib/dib.ml
index 71b1f7f..54ea2ae 100644
--- a/dib/dib.ml
+++ b/dib/dib.ml
@@ -289,7 +289,7 @@ if [ -n \"$user\" ]; then
fi
if [ -z \"$preserve_env\" ]; then
- for envvar in `env | grep '^\\w' | cut -d= -f1`; do
+ for envvar in `awk 'BEGIN{for (i in ENVIRON) {print i}}'`; do
case \&quo...
2017 Feb 14
14
[PATCH 00/10] dib/API: improvements and fixes
Hi,
this patch series does changes mostly in virt-dib, few bug fixes and
a couple of new features (mostly implemented upstream already).
In addition, one new API is added, and a new optional argument for an
existing API is added (the latter is not needed, but could be useful
anyway).
Thanks,
Pino Toscano (10):
dib: fix listing envvars in fake-sudo
dib: source dib "die" script in