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:
parent
6b09dd2e2c
commit
5cc280614a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168565
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 2.1.3.2
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
|
14
ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb
Normal file
14
ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb
Normal 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
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 2.1.3.2
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
|
14
sysutils/portupgrade/files/patch-lib-pkgtools.rb
Normal file
14
sysutils/portupgrade/files/patch-lib-pkgtools.rb
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user