mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
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:
parent
0d24994934
commit
4c1f41a7c1
@ -769,12 +769,8 @@ extract_svn() {
|
|||||||
repo=${repo%%#*}
|
repo=${repo%%#*}
|
||||||
|
|
||||||
msg2 "$(gettext "Creating working copy of %s %s repo...")" "${repo}" "svn"
|
msg2 "$(gettext "Creating working copy of %s %s repo...")" "${repo}" "svn"
|
||||||
pushd "$srcdir" &>/dev/null
|
|
||||||
rm -rf "${dir##*/}"
|
|
||||||
|
|
||||||
cp -a "$dir" .
|
cp -au "$dir" "$srcdir"
|
||||||
|
|
||||||
popd &>/dev/null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
get_all_sources() {
|
get_all_sources() {
|
||||||
|
Loading…
Reference in New Issue
Block a user