diff options
author | Chris Rees <crees@FreeBSD.org> | 2013-03-06 20:49:22 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2013-03-06 20:49:22 +0000 |
commit | 15374243c54dd46180802f8aeae7a2e787dbb0a2 (patch) | |
tree | e6b15a6db0b76314b4cba3e548e7c7218ffc2b5e /ports-mgmt/portdowngrade | |
parent | 3b74c37703ced79f6804f83d032304bfa8596bdf (diff) | |
download | ports-15374243c54dd46180802f8aeae7a2e787dbb0a2.tar.gz ports-15374243c54dd46180802f8aeae7a2e787dbb0a2.zip |
Notes
Diffstat (limited to 'ports-mgmt/portdowngrade')
-rw-r--r-- | ports-mgmt/portdowngrade/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/portdowngrade/files/portdowngrade | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ports-mgmt/portdowngrade/Makefile b/ports-mgmt/portdowngrade/Makefile index f20de644bd2a..ed40af5f8f72 100644 --- a/ports-mgmt/portdowngrade/Makefile +++ b/ports-mgmt/portdowngrade/Makefile @@ -3,6 +3,7 @@ PORTNAME= portdowngrade PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= ports-mgmt MASTER_SITES= # empty DISTFILES= # none diff --git a/ports-mgmt/portdowngrade/files/portdowngrade b/ports-mgmt/portdowngrade/files/portdowngrade index 463ef84515e7..65ac1dbf47d0 100644 --- a/ports-mgmt/portdowngrade/files/portdowngrade +++ b/ports-mgmt/portdowngrade/files/portdowngrade @@ -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) |