mirror of
https://github.com/moparisthebest/pacman
synced 2025-02-28 17:31:52 -05:00
Do not use checkout directory for SVN config
Using the checkout directory for the SVN config can result in clashes between config files and files from the SVN checkout. Instead, use a ".makepkg" directory within the checkout. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
2bf2700b74
commit
7e0f528274
@ -705,7 +705,8 @@ download_svn() {
|
||||
|
||||
if [[ ! -d "$dir" ]] || dir_is_empty "$dir" ; then
|
||||
msg2 "$(gettext "Cloning %s %s repo...")" "${repo}" "svn"
|
||||
if ! svn checkout --config-dir "$dir" "$url" "$dir"; then
|
||||
mkdir -p "$dir/.makepkg"
|
||||
if ! svn checkout --config-dir "$dir/.makepkg" "$url" "$dir"; then
|
||||
error "$(gettext "Failure while downloading %s %s repo")" "${repo}" "svn"
|
||||
plain "$(gettext "Aborting...")"
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user