summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-06-05 16:58:08 +0000
committerMarius Mauch <genone@gentoo.org>2007-06-05 16:58:08 +0000
commitcf17db9cba53ccd3e8fe2563a46a38da947d5e8f (patch)
tree1f1ef757f64b92b5f1d9940d5273111bc5823997
parent81bfd81bd408a830bab0277df2848657c1efaa28 (diff)
downloadportage-cf17db9cba53ccd3e8fe2563a46a38da947d5e8f.tar.gz
portage-cf17db9cba53ccd3e8fe2563a46a38da947d5e8f.tar.bz2
portage-cf17db9cba53ccd3e8fe2563a46a38da947d5e8f.zip
Use user-provided $mv_opts for -5 (bug #47442)
svn path=/main/trunk/; revision=6735
-rwxr-xr-xbin/etc-update3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/etc-update b/bin/etc-update
index fd192b0e7..0daf04d40 100755
--- a/bin/etc-update
+++ b/bin/etc-update
@@ -176,7 +176,8 @@ configuration file is followed by a list of possible replacement files."
fi
if [[ ${input} == -5 ]] ; then
input=-3
- export mv_opts=""
+ export mv_opts=" ${mv_opts} "
+ mv_opts="${mv_opts// -i / }"
fi
if [[ ${input} == -3 ]] ; then
input=0