summaryrefslogtreecommitdiff
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 /bin/etc-update
parentAdd ECONF_SOURCE to the econf docs. (diff)
downloadportage-multirepo-cf17db9cba53ccd3e8fe2563a46a38da947d5e8f.tar.gz
portage-multirepo-cf17db9cba53ccd3e8fe2563a46a38da947d5e8f.tar.bz2
portage-multirepo-cf17db9cba53ccd3e8fe2563a46a38da947d5e8f.zip
Use user-provided $mv_opts for -5 (bug #47442)
svn path=/main/trunk/; revision=6735
Diffstat (limited to 'bin/etc-update')
-rwxr-xr-xbin/etc-update3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/etc-update b/bin/etc-update
index fd192b0e..0daf04d4 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