mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- A workaround for a null string problem with -R option
Submitted by: John Rumsey <rumseyj at rumsey.co.nz>
This commit is contained in:
parent
ce468e95ab
commit
58fd1ed486
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=238181
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 2.4.6
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
|
24
ports-mgmt/portupgrade/files/patch-bin-portupgrade
Normal file
24
ports-mgmt/portupgrade/files/patch-bin-portupgrade
Normal file
@ -0,0 +1,24 @@
|
||||
--- bin/portupgrade.orig 2009-07-21 23:59:59.000000000 +0400
|
||||
+++ bin/portupgrade 2009-07-22 00:02:08.000000000 +0400
|
||||
@@ -597,6 +597,7 @@
|
||||
exit 1
|
||||
end
|
||||
|
||||
+ list -= ['']
|
||||
list.each do |i|
|
||||
if i == first
|
||||
$task_options[i][:origin] = $origin
|
||||
@@ -654,12 +655,12 @@
|
||||
upgrade_tasks -= not_need_upgrade
|
||||
|
||||
# Check dependencies for updates
|
||||
+ depends -= ['']
|
||||
if $upward_recursive
|
||||
STDERR.print '[Exclude up-to-date packages '
|
||||
not_need_upgrade = []
|
||||
depends.each do |task|
|
||||
STDERR.print '.'
|
||||
- next if task == ''
|
||||
begin
|
||||
pkg = PkgInfo.new(task)
|
||||
rescue ArgumentError => e
|
Loading…
Reference in New Issue
Block a user