1 From a674b9cc7af448d7c6748bc163bf37dc14a57f09 Mon Sep 17 00:00:00 2001
2 From: Alexander Kanavin <alex.kanavin@gmail.com>
3 Date: Fri, 20 Jan 2017 13:32:06 +0200
4 Subject: [PATCH] Do not reset the PATH environment variable before running
7 We add lots of native stuff into it and scriptlets rely on that.
9 Upstream-Status: Inappropriate [oe-core specific]
10 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13 lib/rpmscript.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 diff --git a/lib/rpmscript.c b/lib/rpmscript.c
17 index 6a31e0d..2b0e438 100644
20 @@ -184,7 +184,7 @@ static void doScriptExec(ARGV_const_t argv, ARGV_const_t prefixes,
21 if (ipath && ipath[5] != '%')
24 - xx = setenv("PATH", path, 1);
25 + //xx = setenv("PATH", path, 1);