On Mon, Dec 09, 2013 at 09:31:21PM +0100, Lukáš Jirkovský wrote:
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> --- 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 aeb231a..84183b0 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -747,12 +747,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"
What about deleted files? This will break builds...
}
download_sources() { -- 1.8.5.1