Author: glen Date: Wed Jan 31 22:57:08 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- shorter shell titles for distfiles fetches
---- Files affected:
SPECS:
builder (1.473 -> 1.474)
---- Diffs:
================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.473 SPECS/builder:1.474
--- SPECS/builder:1.473 Wed Jan 24 15:17:28 2007
+++ SPECS/builder Wed Jan 31 23:57:02 2007
@@ -929,9 +929,17 @@
${GETLOCAL} $url $target
else
if [ -z "$NOMIRRORS" ]; then
- url="`find_mirror
"$url"`"
+ url=$(find_mirror
"$url")
fi
- update_shell_title "${GETURI%%
*}: $url"
+
+ local uri=${url}
+ # make shorter message for
distfiles urls
+ if [[ "$uri" =
${PROTOCOL}${DISTFILES_SERVER}* ]] || [[ "$uri" =
${PROTOCOL}${ATTICDISTFILES_SERVER}* ]]; then
+
uri=${uri#${PROTOCOL}${DISTFILES_SERVER}/distfiles/by-md5/?/?/*/}
+
uri=${uri#${PROTOCOL}${ATTICDISTFILES_SERVER}/distfiles/by-md5/?/?/*/}
+ uri="df: $uri"
+ fi
+ update_shell_title "${GETURI%%
*}: $uri"
${GETURI} ${OUTFILEOPT}
"$target" "$url" || \
if [ "`echo $url | grep -E
'ftp://'`" ]; then
update_shell_title
"${GETURI2%% *}: $url"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/builder?r1=1.473&r2=1.474&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit