OSSP CVS Repository

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

Check-in Number: 5015
Date: 2005-Feb-06 13:17:47 (local)
2005-Feb-06 12:17:47 (UTC)
User:rse
Branch:
Comment: Replace unportable "if ! <cmd>" construct.
Tickets:
Inspections:
Files:
ossp-pkg/svs/ChangeLog      1.5 -> 1.6     5 inserted, 0 deleted
ossp-pkg/svs/svs.sh      1.6 -> 1.7     3 inserted, 1 deleted

ossp-pkg/svs/ChangeLog 1.5 -> 1.6

--- ChangeLog    2005/01/13 11:14:01     1.5
+++ ChangeLog    2005/02/06 12:17:47     1.6
@@ -8,6 +8,11 @@
 
   ChangeLog
 
+  Changes between 1.0.1 and 1.0.2 (13-Jan-2005 to 06-Feb-2005):
+
+    *) Replace unportable "if ! <cmd>" construct.
+       [Ralf S. Engelschall]
+
   Changes between 1.0.0 and 1.0.1 (14-Dec-2004 to 13-Jan-2005):
 
     *) Adjust copyright messages for new year 2005.


ossp-pkg/svs/svs.sh 1.6 -> 1.7

--- svs.sh       2005/01/13 11:15:03     1.6
+++ svs.sh       2005/02/06 12:17:47     1.7
@@ -124,7 +124,9 @@
                 diff -u3 /dev/null $edit
             else
                 #   regular case: edited file
-                if ! cmp $orig $edit >/dev/null 2>&1; then
+                if cmp $orig $edit >/dev/null 2>&1; then
+                    :
+                else
                     echo "Index: $edit"
                     diff -u3 $orig $edit
                 fi

CVSTrac 2.0.1