1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Fix a bug that caused incorrect output-processing in second-party soft.

Obtained from:	Kport
This commit is contained in:
Sergey Matveychuk 2006-07-23 15:08:08 +00:00
parent 6b09dd2e2c
commit 5cc280614a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168565
4 changed files with 30 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 2.1.3.2
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \

View File

@ -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

View File

@ -7,7 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 2.1.3.2
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \

View File

@ -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