svn commit: r313540 - in head/ports-mgmt/portdowngrade: . files
Chris Rees
crees at FreeBSD.org
Wed Mar 6 20:50:02 UTC 2013
Author: crees
Date: Wed Mar 6 20:49:22 2013
New Revision: 313540
URL: http://svnweb.freebsd.org/changeset/ports/313540
Log:
Reversed logic
Submitted by: Domagoj Smolcic <rank1seeker at gmail.com>
Pointyhat to: crees
Modified:
head/ports-mgmt/portdowngrade/Makefile
head/ports-mgmt/portdowngrade/files/portdowngrade
Modified: head/ports-mgmt/portdowngrade/Makefile
==============================================================================
--- head/ports-mgmt/portdowngrade/Makefile Wed Mar 6 20:20:35 2013 (r313539)
+++ head/ports-mgmt/portdowngrade/Makefile Wed Mar 6 20:49:22 2013 (r313540)
@@ -3,6 +3,7 @@
PORTNAME= portdowngrade
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= # empty
DISTFILES= # none
Modified: head/ports-mgmt/portdowngrade/files/portdowngrade
==============================================================================
--- head/ports-mgmt/portdowngrade/files/portdowngrade Wed Mar 6 20:20:35 2013 (r313539)
+++ head/ports-mgmt/portdowngrade/files/portdowngrade Wed Mar 6 20:49:22 2013 (r313540)
@@ -74,7 +74,7 @@ esac
portdir="${1%$PORTSDIR}"
portdir="${portdir#/}"
-[ ! -d "$PORTSDIR/$portdir" ] || err "$portdir does not exist in $PORTSDIR"
+[ -d "$PORTSDIR/$portdir" ] || err "$portdir does not exist in $PORTSDIR"
case ${2-NULL} in
NULL)
More information about the svn-ports-head
mailing list