diff options
author | sem <sem@FreeBSD.org> | 2006-07-23 23:08:08 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2006-07-23 23:08:08 +0800 |
commit | 20c140c307eae824bee5fcf6add1fae9e1587723 (patch) | |
tree | 22dca3bdca30e9c8d9716527d3e3912408086c00 /ports-mgmt | |
parent | e06f87fc8f68232ce394fa219b29f7aae643a2a2 (diff) | |
download | freebsd-ports-gnome-20c140c307eae824bee5fcf6add1fae9e1587723.tar.gz freebsd-ports-gnome-20c140c307eae824bee5fcf6add1fae9e1587723.tar.zst freebsd-ports-gnome-20c140c307eae824bee5fcf6add1fae9e1587723.zip |
- Fix a bug that caused incorrect output-processing in second-party soft.
Obtained from: Kport
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portupgrade/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile index fd5f73528cfb..96510b5bb9c4 100644 --- a/ports-mgmt/portupgrade/Makefile +++ b/ports-mgmt/portupgrade/Makefile @@ -7,7 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 2.1.3.2 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 2 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ diff --git a/ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb b/ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb new file mode 100644 index 000000000000..b88b84db28d4 --- /dev/null +++ b/ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb @@ -0,0 +1,14 @@ +--- lib/pkgtools.rb.orig Sun Jul 23 18:50:49 2006 ++++ lib/pkgtools.rb Sun Jul 23 18:50:59 2006 +@@ -486,10 +486,8 @@ + def logged_command(file, args) + if !file + args +- elsif STDIN.tty? +- ['/usr/bin/script', '-qa', file, *args] + else +- ['/bin/sh', '-c', sprintf('%s >>%s 2>&1', shelljoin(*args), shelljoin(file))] ++ ['/usr/bin/script', '-qa', file, *args] + end + end + |