OSSP CVS Repository

ossp - Check-in [4901]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4901
Date: 2004-Dec-16 17:39:37 (local)
2004-Dec-16 16:39:37 (UTC)
User:rse
Branch:
Comment: When searching for *.orig files, sort the resulting filename list to make sure we deterministically produce patches.
Tickets:
Inspections:
Files:
ossp-pkg/svs/ChangeLog      1.1 -> 1.2     6 inserted, 0 deleted
ossp-pkg/svs/svs.sh      1.1 -> 1.2     2 inserted, 2 deleted

ossp-pkg/svs/ChangeLog 1.1 -> 1.2

--- ChangeLog    2004/12/14 19:18:37     1.1
+++ ChangeLog    2004/12/16 16:39:37     1.2
@@ -8,6 +8,12 @@
 
   ChangeLog
 
+  Changes between 1.0.0 and 1.0.1 (14-Dec-2004 to 16-Dec-2004):
+
+    *) When searching for *.orig files, sort the resulting filename
+       list to make sure we deterministically produce patches.
+       [Ralf S. Engelschall]
+
   Changes between *GENESIS* and 1.0.0 (xx-Jun-2003 to 14-Dec-2004):
 
     *) Created the initial version of OSSP svs.


ossp-pkg/svs/svs.sh 1.1 -> 1.2

--- svs.sh       2004/12/14 19:18:37     1.1
+++ svs.sh       2004/12/16 16:39:37     1.2
@@ -86,7 +86,7 @@
         files=""
         for file in "$@"; do
             if [ -d $file ]; then
-                for f in `find $file -type f -name "*.orig" -print`; do
+                for f in `find $file -type f -name "*.orig" -print | sort`; do
                     files="$files $f"
                 done
             elif [ -f $file ]; then
@@ -136,7 +136,7 @@
         files=""
         for file in "$@"; do
             if [ -d $file ]; then
-                for f in `find $file -type f -name "*.orig" -print`; do
+                for f in `find $file -type f -name "*.orig" -print | sort`; do
                     files="$files $f"
                 done
             elif [ -f $file ]; then

CVSTrac 2.0.1