From 4c1f41a7c18355542d9d7f5c58ac5a026a71bb4d Mon Sep 17 00:00:00 2001 From: Lukáš Jirkovský Date: Mon, 9 Dec 2013 20:31:21 +0000 Subject: makepkg: svn: update existing sources in srcdir without removing them first. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ý Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 6acd9f5e..4e9da4bb 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -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() { -- cgit v1.2.3-70-g09d2