diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2010-06-28 01:59:25 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2010-06-28 01:59:25 +0000 |
commit | 090587b616ce3b8e43804c990d85835304e24aa4 (patch) | |
tree | d914a190e15194b535649d11ff7247b1dab77650 /Tools | |
parent | 0174c423297e580ad4c7f2fff48f99c3cedff76a (diff) | |
download | ports-090587b616ce3b8e43804c990d85835304e24aa4.tar.gz ports-090587b616ce3b8e43804c990d85835304e24aa4.zip |
Correct the URLs; 'http://' is not included in MASTER_URL.
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=257087
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/dopackagestats | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Tools/portbuild/scripts/dopackagestats b/Tools/portbuild/scripts/dopackagestats index 49c53c418f9f..1ac5ea600ca2 100755 --- a/Tools/portbuild/scripts/dopackagestats +++ b/Tools/portbuild/scripts/dopackagestats @@ -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 " " >> ${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 " " >> ${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 " " >> ${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 " " >> ${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 " " >> ${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 " " >> ${TMPFILE} |