aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-05-18 08:53:39 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-05-18 08:53:39 +0000
commitf21b7ffdfa6571b7a9f290d15c5e59093adfa3e8 (patch)
tree540dba6bb4d794c95e39d9e44875451f1b1124fd /Tools
parentf5fc3370744914ab75efe134f0281a794d58ad0c (diff)
downloadports-f21b7ffdfa6571b7a9f290d15c5e59093adfa3e8.tar.gz
ports-f21b7ffdfa6571b7a9f290d15c5e59093adfa3e8.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/chkversion.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/chkversion.pl b/Tools/scripts/chkversion.pl
index ee048baeaf9e..63f48e90ad74 100755
--- a/Tools/scripts/chkversion.pl
+++ b/Tools/scripts/chkversion.pl
@@ -178,7 +178,7 @@ while (<VERSIONS>) {
$newversion =~ s/^.*-//;
$oldversion =~ s/^.*-//;
- my $result = readfrom '',
+ my $result = $newversion eq $oldversion ? '=' : readfrom '',
$pkg_version, '-t', $newversion, $oldversion;
if ($result eq '<') {
$backwards{$origin} = "$pkgname{$origin} < $version";