OSDN Git Service

[BUG FIX] The "Completion of recursive requirement lists" phase was very heavy withou...
authorMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Tue, 28 Jun 2016 10:42:00 +0000 (19:42 +0900)
committerMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Tue, 28 Jun 2016 10:42:00 +0000 (19:42 +0900)
Changes to be committed:
modified:   README
modified:   bin/portsreinstall
modified:   lib/libdatabase_build.sh
modified:   man/portsreinstall.8

README
bin/portsreinstall
lib/libdatabase_build.sh
man/portsreinstall.8

diff --git a/README b/README
index 35ca2f7..0dd9a51 100644 (file)
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
 ================================================================================
  portsreinstall - ports upgrading utility for massive forced reinstallation
-  Version 3.2.2, June 21, 2015
+  Version 3.2.2, June 28, 2015
  Copyright (C) 2010-2015 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
 ================================================================================
 
index ba410f5..e27159c 100755 (executable)
@@ -15,7 +15,7 @@ APPNAME=`basename "$0"`
 MYVERSION=3.2.2
 COMPATIBLE_VERSIONS='^(3\.[1-2]\.[0-9]+)$'
 # Template for development versions
-MYVERSION=3.2.1+toward_3.2.2_20160621153424
+MYVERSION=3.2.1+toward_3.2.2_20160628193558
 COMPATIBLE_VERSIONS='^(3\.[1-2]\.[0-9]+\+toward_3\.[1-2]\.[0-9]+_[0-9]+|3\.[1-2]\.[0-9]+)$'
 MYPREFIX=`dirname "\`dirname \"$0\"\`" | sed 's|/bin$||'`
 MYPREFIX=${MYPREFIX:-/usr/local}
index 28f9e93..651ac3a 100644 (file)
@@ -638,8 +638,8 @@ database_build_get_complete_recursive_dependency ()
                do
                        echo "$origin_requirement"
                        database_build_get_complete_recursive_dependency "$table" "$origin_requirement" "$suffix"
-               done < $dbpath/$table.direct$suffix | sort -u > $dstfile.tmp
-               mv "$dstfile.tmp" "$dstfile"
+               done < $dbpath/$table.direct$suffix > $dstfile.tmp
+               sort -u "$dstfile.tmp" > $dstfile
        fi
        cat "$dstfile"
 }
index 8c3942b..51beb99 100644 (file)
@@ -2,7 +2,7 @@
 .\" ports reinstall installation guide
 .\" Copyright (C) 2010-2015 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
 .\" ==================================================================================
-.TH PORTSREINSTALL 8 "21 June 2016" "FreeBSD" "FreeBSD System Manager's Manual"
+.TH PORTSREINSTALL 8 "28 June 2016" "FreeBSD" "FreeBSD System Manager's Manual"
 .SH NAME
 portsreinstall \- ports upgrading utility for massive forced reinstallation
 .SH SYNOPSIS
@@ -934,6 +934,8 @@ Configuration file of \fBportupgrade\fR(1).
 3.2.2 (21 June 2016)
 .RS
 [BUG FIX] The rescue process for cases missing pkg(8) was not working well.
+.PP
+[BUG FIX] The "Completion of recursive requirement lists" phase was very heavy without -q option when pkg(8) was updated.
 .RE
 .TP
 3.2.1 (27 January 2015)