summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-04-28 23:37:37 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-29 16:16:24 +0200
commit44c6a113c02ec00dca037c15fac370207afb60a5 (patch)
tree6d1a7fa4632d2850842e2107833462ac4f4dcab4 /urpmi.addmedia
parent0c1f6d163dacc6dfcc428424558e2bbd88d485b0 (diff)
downloadurpmi-44c6a113c02ec00dca037c15fac370207afb60a5.tar
urpmi-44c6a113c02ec00dca037c15fac370207afb60a5.tar.gz
urpmi-44c6a113c02ec00dca037c15fac370207afb60a5.tar.bz2
urpmi-44c6a113c02ec00dca037c15fac370207afb60a5.tar.xz
urpmi-44c6a113c02ec00dca037c15fac370207afb60a5.zip
do not restrict PATH during testsuite
(needed for next commit)
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index fc26028d..8b4d08f9 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -86,7 +86,7 @@ and [options] are from
exit 1;
}
-$ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin";
+$ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin" if !$ENV{URPMI_TESTSUITE};
delete @ENV{qw(ENV BASH_ENV IFS CDPATH)};
$options{force} = 0;