aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-09-24 09:20:23 +0800
committerasami <asami@FreeBSD.org>1999-09-24 09:20:23 +0800
commit002783d27777b9a9f87efabc241d0c81212093ca (patch)
treec9af548b582db33b528ebb634f21ae7d4770450f /Tools/portbuild
parent46136491a498bcd2696aa2b0451c29f520b576e8 (diff)
downloadfreebsd-ports-gnome-002783d27777b9a9f87efabc241d0c81212093ca.tar.gz
freebsd-ports-gnome-002783d27777b9a9f87efabc241d0c81212093ca.tar.zst
freebsd-ports-gnome-002783d27777b9a9f87efabc241d0c81212093ca.zip
Minor cleanup, remove excessive tests.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/bothlogs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/bothlogs b/Tools/portbuild/scripts/bothlogs
index 1ea45aef6918..84ea372cb3bf 100755
--- a/Tools/portbuild/scripts/bothlogs
+++ b/Tools/portbuild/scripts/bothlogs
@@ -12,7 +12,6 @@ dir1=$1
dir2=$2
fdir1=$here/$dir1
fdir2=$here/$dir2
-ldir2=$(cd $fdir2; cd ../logs; pwd)
of=$here/$dir1+$dir2.html
@@ -31,7 +30,7 @@ else
echo "<table border=1>" >>$of
echo "<tr><th>Log</th></tr>" >>$of
while [ $# -gt 0 ]; do
- if [ -f ${ldir2}/$1 -a -f ${fdir2}/$1 ]; then
+ if [ -f ${fdir2}/$1 ]; then
echo -n "<tr><td>" >>$of
echo -n "<a href=\"$dir1/index.html#$1\">" >>$of
echo -n $(basename $1 .log) >>$of