diff options
author | crees <crees@FreeBSD.org> | 2013-05-30 18:22:43 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2013-05-30 18:22:43 +0800 |
commit | 1fac6d715b2e986dd626dc060f7883c9276f7d1e (patch) | |
tree | b1e2460d3bb7da6a1cd91d5d5ceeb149c524996c /ports-mgmt | |
parent | ba3e2bef7578d017d643970840f3f4ca559859d8 (diff) | |
download | freebsd-ports-gnome-1fac6d715b2e986dd626dc060f7883c9276f7d1e.tar.gz freebsd-ports-gnome-1fac6d715b2e986dd626dc060f7883c9276f7d1e.tar.zst freebsd-ports-gnome-1fac6d715b2e986dd626dc060f7883c9276f7d1e.zip |
Update to 1.4:
- Actually checkout the older version when recursing
Reported by: jrm: IRC
- Behave properly when the path to the temp ports directory contains a symlink
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portdowngrade/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portdowngrade/files/portdowngrade | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ports-mgmt/portdowngrade/Makefile b/ports-mgmt/portdowngrade/Makefile index 5f3d7461d15d..54d1eb139821 100644 --- a/ports-mgmt/portdowngrade/Makefile +++ b/ports-mgmt/portdowngrade/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= portdowngrade -PORTVERSION= 1.3 +PORTVERSION= 1.4 CATEGORIES= ports-mgmt MASTER_SITES= # empty DISTFILES= # none diff --git a/ports-mgmt/portdowngrade/files/portdowngrade b/ports-mgmt/portdowngrade/files/portdowngrade index 733d4934dfb4..cda79ac8f2bf 100644 --- a/ports-mgmt/portdowngrade/files/portdowngrade +++ b/ports-mgmt/portdowngrade/files/portdowngrade @@ -40,13 +40,13 @@ getport_recursive() # "This function is recursive" echo -n "==> Fetching $1 ..." [ -d $tmpdir/${1%/*} ] || \ - $svn -q up --depth files "$tmpdir/${1%/*}@$rev" || \ + $svn -q up --depth files -r $rev "$tmpdir/${1%/*}" || \ err "Something went wrong with fetching category for $1. Ensure you have the correct revision!" - $svn -q up "$tmpdir/$1@$rev" || \ + $svn -q up -r $rev "$tmpdir/$1" || \ err "Something went wrong with fetching port files for $1." echo " [DONE]" echo "$1" >> $tmpdir/portdowngrade.originlist - deps=$(make PORTSDIR=$(pwd)/$tmpdir -C $tmpdir/$1 -V_DEPEND_DIRS:N\*/pkg:S,${PORTSDIR}/,,) + deps=$(make PORTSDIR=$PWD/$tmpdir -C $tmpdir/$1 '-V_DEPEND_DIRS:N*/pkg:C,.*/([^/]*/[^/]*)$,\1,') if [ -n "$deps" ]; then for port in $deps; do if [ ! -d $tmpdir/$port ]; then |