commit 7cc82fae2959d5debb4a377d73cb304a2463c823
Author: Kacper Kornet <[email protected]>
Date: Mon Aug 20 12:01:22 2012 +0100
remove superfluous calls to find_mirror
builder.sh | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/builder.sh b/builder.sh
index dfb5cdd..e61f014 100755
--- a/builder.sh
+++ b/builder.sh
@@ -1235,10 +1235,6 @@ get_files() {
update_shell_title
"${GETLOCAL%% *}: $url"
${GETLOCAL} $url $target
else
- if [ -z "$NOMIRRORS" ]; then
- url=$(find_mirror
"$url")
- fi
-
local uri=${url}
# make shorter message for
distfiles urls
if [[ "$uri" =
${PROTOCOL}${DISTFILES_SERVER}* ]] || [[ "$uri" =
${PROTOCOL}${ATTICDISTFILES_SERVER}* ]]; then
@@ -1261,9 +1257,6 @@ get_files() {
update_shell_title
"${GETLOCAL%% *}: $url_attic"
${GETLOCAL} $url_attic
$target
else
- if [ -z "$NOMIRRORS" ];
then
-
url_attic=$(find_mirror "$url_attic")
- fi
update_shell_title
"${GETURI%% *}: $url_attic"
${GETURI} ${OUTFILEOPT}
"$target" "$url_attic" || \
if [ "`echo $url_attic
| grep -E 'ftp://'`" ]; then
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit