makepkg: svn: update existing sources in srcdir without removing them first.

This matches the behaviour with non-VCS sources. It also allows incremental
builds when subversion is used to obtain sources.

Signed-off-by: Lukáš Jirkovský <l.jirkovsky@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Lukáš Jirkovský 2013-12-09 20:31:21 +00:00 committed by Allan McRae
parent 0d24994934
commit 4c1f41a7c1
1 changed files with 1 additions and 5 deletions

View File

@ -769,12 +769,8 @@ extract_svn() {
repo=${repo%%#*}
msg2 "$(gettext "Creating working copy of %s %s repo...")" "${repo}" "svn"
pushd "$srcdir" &>/dev/null
rm -rf "${dir##*/}"
cp -a "$dir" .
popd &>/dev/null
cp -au "$dir" "$srcdir"
}
get_all_sources() {