summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
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;