1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Correct the URLs; 'http://' is not included in MASTER_URL.

Feature safe:	yes
This commit is contained in:
Mark Linimon 2010-06-28 01:59:25 +00:00
parent 0174c42329
commit 090587b616
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257087

View File

@ -93,7 +93,7 @@ write_row () {
# if [ -d $directory/logs ]; then
# latest_suffix="$(cd $directory/logs 2> /dev/null && ls -rtTl | grep '\.log' | tail -1 | awk '{printf("%s\">%s %s</a>\n",$10,$6,$7)}')"
# if [ -z "$latest_suffix" ]; then
# latest="<a href=\"${MASTER_URL}/errorlogs/$arch-$build-latest-logs/$latest_suffix"
# latest="<a href=\"http://${MASTER_URL}/errorlogs/$arch-$build-latest-logs/$latest_suffix"
# have_latest="yes"
# fi
# fi
@ -210,7 +210,7 @@ write_row () {
echo "<td align='left' bgcolor='$cellcolor'>" >> ${TMPFILE}
if [ ! -z "$have_updated" ]; then
echo "<a href='${MASTER_URL}/errorlogs/$arch-$build-latest/.updated'>" >> ${TMPFILE}
echo "<a href='http://${MASTER_URL}/errorlogs/$arch-$build-latest/.updated'>" >> ${TMPFILE}
echo "$updated</a>" >> ${TMPFILE}
else
echo "&nbsp;" >> ${TMPFILE}
@ -229,7 +229,7 @@ write_row () {
# note: ports/INDEX-n is copied to a file called errorlogs/INDEX
echo "<td align='left' bgcolor='$cellcolor'>" >> ${TMPFILE}
if [ ! -z "$have_index" ]; then
echo "<a href='${MASTER_URL}/errorlogs/$arch-$build-latest/INDEX'>" >> ${TMPFILE}
echo "<a href='http://${MASTER_URL}/errorlogs/$arch-$build-latest/INDEX'>" >> ${TMPFILE}
echo "$n_index</a>" >> ${TMPFILE}
else
echo "&nbsp;" >> ${TMPFILE}
@ -238,7 +238,7 @@ write_row () {
echo "<td align='right' bgcolor='$cellcolor'>" >> ${TMPFILE}
if [ ! -z "$have_logs" ]; then
echo "<a href='${MASTER_URL}/errorlogs/$arch-$build-latest-logs'>" >> ${TMPFILE}
echo "<a href='http://${MASTER_URL}/errorlogs/$arch-$build-latest-logs'>" >> ${TMPFILE}
echo "$n_logs</a>" >> ${TMPFILE}
else
echo "&nbsp;" >> ${TMPFILE}
@ -247,7 +247,7 @@ write_row () {
echo "<td align='right' bgcolor='$cellcolor'>" >> ${TMPFILE}
if [ ! -z "$have_packages" ]; then
echo "<a href='${MASTER_URL}/errorlogs/$arch-$build-packages-latest/All'>" >> ${TMPFILE}
echo "<a href='http://${MASTER_URL}/errorlogs/$arch-$build-packages-latest/All'>" >> ${TMPFILE}
echo "$n_packages</a>" >> ${TMPFILE}
else
echo "&nbsp;" >> ${TMPFILE}
@ -256,7 +256,7 @@ write_row () {
echo "<td align='right' bgcolor='$cellcolor'>" >> ${TMPFILE}
if [ ! -z "$have_errors" ]; then
echo "<a href='${MASTER_URL}/errorlogs/$arch-$build-latest'>" >> ${TMPFILE}
echo "<a href='http://${MASTER_URL}/errorlogs/$arch-$build-latest'>" >> ${TMPFILE}
echo "$n_errors</a>" >> ${TMPFILE}
else
echo "&nbsp;" >> ${TMPFILE}
@ -265,7 +265,7 @@ write_row () {
echo "<td align='right' bgcolor='$cellcolor'>" >> ${TMPFILE}
if [ ! -z "$have_duds" ]; then
echo "<a href='${MASTER_URL}/errorlogs/$arch-$build-latest/duds.verbose'>" >> ${TMPFILE}
echo "<a href='http://${MASTER_URL}/errorlogs/$arch-$build-latest/duds.verbose'>" >> ${TMPFILE}
echo "$n_duds</a>" >> ${TMPFILE}
else
echo "&nbsp;" >> ${TMPFILE}